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

How to retrieve image data send from iOS Swift through Alamofire on Heroku Servlet?  RSS feed

 
Martin Nanchev
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I have tried to retrieve image that was send from iOS to Heroku Servlet, but i get the following error: "Response status code was unacceptable: 405"

This is my request :



And this is my doPost method on Heroku:




Can you advice how can i fix it? Thanks in advance
 
Devaka Cooray
Marshal
Posts: 5512
687
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you call super.doPost(req, resp); ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!