danwrong/restler — Issue #53: What is the proper way to specify content type header from my application?
Author: yevgenko
Created: 2011-12-19 04:41:46+00:00
State: open

When posting json to remote service I need to set 'Content-Type' to 'application/json'. For example shopify api will decline json requests without 'Content-Type' header set to 'application/json'. So, how to do it properly in my application? :)

Thanks.