Closed lwbcsd closed 6 months ago
The API does not return correct content type in header.
The API response should include the correct content type header.
Example: http://api.joshuaproject.net/v1/people_groups/daily_unreached.json?api_key=xxxxxx&month=01&day=11
Content-Type: application/json
Content-Type: text/html;charset=UTF-8
Set content-type to reflect the correct format.
@lwbcsd Thanks. I will take a look at it.
This is working correctly now. Going to close the issue.
Description
The API does not return correct content type in header.
Context
The API response should include the correct content type header.
Process
Example: http://api.joshuaproject.net/v1/people_groups/daily_unreached.json?api_key=xxxxxx&month=01&day=11
Expected result
Content-Type: application/json
Current result
Content-Type: text/html;charset=UTF-8
Possible Fix
Set content-type to reflect the correct format.