Translate

вівторок, 8 квітня 2014 р.

Small Spring Rest issue


Today I've got 415 Unsupported Media Type on Spring MVC based project for such method

There was incorrect parameter consumes = "application/json". I'd forgotten to remove it when changed RequestMethod from POST to GET. Perhaps it could be useful for somebody.