Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

uploading image using json  RSS feed

 
MohamedAhmed Ibrahim
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a service to save some form fields from the client and i need to add uploading image to that service using json. the service consumes json and produces json.
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Base64 encode the image or use BSON if you can get away with it.
 
Mohamad Ahmad
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for your replay but would you send sample code ?
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not really how we do thing here on the 'Ranch I'm afraid, please read NotACodeMill and ShowSomeEffort.
Why don't you give implementing this a try and if you get stuck we'd be more than willing to help you out with any concrete problems.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!