Closed avichalp closed 8 years ago
I want to send content-type: application/json in response headers for my json based API. Is there a way of doing it ?
content-type: application/json
yes, what's your webserver? please try this inside an action.
page.r.content_type = 'application/json'
@Etiene It worked. Thanks.
Awesome! :D
I want to send
content-type: application/json
in response headers for my json based API. Is there a way of doing it ?