Activity › Forums › Salesforce® Discussions › Why Content-Type header is used in RestAPI Callouts in Salesforce? Salesforce® Discussions Why Content-Type header is used in RestAPI Callouts in Salesforce? Posted by Deepak on July 29, 2020 at 6:41 AM Why Content-Type header is used in RestAPI Callouts in Salesforce? Ayush replied 5 years, 10 months ago 3 Members · 2 Replies 2 Replies Aditya Member July 29, 2020 at 11:10 AM The request Content–Type header is set to let the service know that the sent data is in JSON format so that it can process the data appropriately. The service responds by sending a status code and a list of all animals, including the one you added. [adinserter block='9'] Ayush Member July 29, 2020 at 12:53 PM The request Content-Type header is set to let the service know that the sent data is in JSON format so that it can process the data appropriately. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me