Activity Forums Salesforce® Discussions When we will use of GET and POST in the Integration Services?

  • Shaharyar

    Member
    August 8, 2017 at 5:07 am

    # POST is used to create record using web services:

    # Whereas GET is used to retrieve record.

    # Example can be seen as:

    Method :- Get
    URL:- /services/data/v36.0/sobjects/Account/0019000001hE8af

    GET

    Method :- Post
    URL:- /services/data/v36.0/sobjects/Account/
    Request Body :-

    {
    "Name" : "Shaharyar4U",
    "phone" : "7867867860",
    "website" : "www.mysite.com",
    "numberOfEmployees" : "786",
    "industry" : "Computer"
    }

    POST

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos