Fixed problem with Unsupported Media Type