MissionalDigerati / joshua_project_api

An API for connecting to the Joshua Project data.
GNU General Public License v3.0
6 stars 2 forks source link

Content-Type header is incorrect #13

Closed lwbcsd closed 6 months ago

lwbcsd commented 3 years ago

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.

codemis commented 3 years ago

@lwbcsd Thanks. I will take a look at it.

codemis commented 6 months ago

This is working correctly now. Going to close the issue.