lundi 28 septembre 2015

why the header contains "Content-Type": "Application/Json" will give me 500 error

when I initialize the http get request. If the header contains "content-type", "application/json", the server will report 500 error. If remove this header, the result is fine. Although the result is json.

Does it related to respond_to ?

Aucun commentaire:

Enregistrer un commentaire