I am trying to connect to OpenMRS using EMR-Middleware. The REST API Call works correctly when using HTTPS, however, it is returning 415 status when connecting over HTTPS.
`
http://mydomain/EMR-Middleware/webapi/pull/pulldata/b56d5d16-bf89-4ac0-918d-e830fbfba290/2006-08-22%2022:21:48
`
Works Correctly.
https://mydomain/EMR-Middleware/webapi/pull/pulldata/b56d5d16-bf89-4ac0-918d-e830fbfba290/2006-08-22%2022:21:48
Returns **415 status**
.
Content-Type
is set to application/json
for both requests.
Any help will be greatly appreciated.