criticalmaps / criticalmaps-web

🕸️ Critical Maps Website
http://criticalmaps.net
28 stars 10 forks source link

Return correct content type #1

Closed johnjohndoe closed 8 years ago

johnjohndoe commented 8 years ago

The JSON response from the API does not return the correct content type:

$ curl -s -D - http://api.criticalmaps.net/twitter/get.php

HTTP/1.1 200 OK
Date: Sun, 04 Oct 2015 22:27:23 GMT
Server: Apache
X-Powered-By: PHP/5.4.44
Transfer-Encoding: chunked
Content-Type: text/html

It should be Content-Type: application/json;charset=utf-8 instead.

stephanlindauer commented 8 years ago

hey tobias, can't find your email address. can you join https://criticalmaps.slack.com/ ?

johnjohndoe commented 8 years ago

Same problem with http://api.criticalmaps.net/postv2.

stephanlindauer commented 8 years ago

moved to https://github.com/criticalmaps/criticalmaps-api/issues/1