• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
Marshal
Posts: 5782
796
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); ?
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!