Activity Forums Salesforce® Discussions Why Content-Type header is used in RestAPI Callouts in Salesforce?

  • 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.

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos