JUGLviv

Meta


Share on:


Small Spring Rest issue

JUG LvivJUG Lviv

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.

Bitnami