This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to post data for a multipart/form-data content type to get content of next page  RSS feed

 
Subash Kshetri
Greenhorn
Posts: 23
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am having a problem in a java crawler that i have been using, I have a method for posting data so that i can get content of pages which require user to post necessary information to get through them and this method works fine with sites whose content type are "application/x-www-form-urlencoded". The method is



but for some sites whose content type is "multipart/form-data" the posting data has a different format than usual, the format is



and the above method doesn't works and i have been trying all possible methods found on google but all were in vain
so can anyone please suggest me any working way

Thank you in advance
 
Subash Kshetri
Greenhorn
Posts: 23
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't anyone have any idea how to solve this ??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!