android-mvvm-architecture
android-mvvm-architecture copied to clipboard
Service calling issue
Getting this error when i call server using this structure:
HTTP Status 415 – Unsupported Media Type
Type Status Report
Message Unsupported Media Type
Description The origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.
Apache Tomcat/7.0.90
415 Unsupported Media Type okhttp error
Sorry for the delayed response. Its because of the type of data coming from the service which you are calling is not the same type which you are receiving, please check and update.