• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Post Image and String from HttpPost

 
Rohit Savant
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

I want to send an image and a String at the same time from a single HttpPost object.
How can I achieve this.

Note: - The server is developed is Jarvel


Thanks in advance for your help,

Rohit Savant
 
Rohit Savant
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Output
405 Method not Found

Is this problem from my side or server side.?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the target URL support POST?
 
Rohit Savant
Greenhorn
Posts: 21
Fedora Java ME Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Ulf the url does support POST.
Because the same kind of app is being developed for apple and he is getting the response.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, 405 means "method not supported", so apparently the code is sending a POST to an URL that does not support it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic