This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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
ExamLab Creator
Marshal
Pie
Posts: 4684
333
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