update device in api

MBY6 years ago

Hi
When I try to connect to api and update device get this error:

HTTP 415 Unsupported Media Type - NotSupportedException (...)

the address i try to connect: http://domain/api/devices/device id

what's the problem?

Anton Tananaev6 years ago

I think error message is pretty self-explanatory. Media type that you used in the request is not supported.