Activity Forums Salesforce® Discussions What are the components of "REST" request in Salesforce?

  • shariq

    Member
    September 5, 2018 at 1:54 pm

    Hi Shradha,

    Components are :-

    a. Resource URI,

    b. HTTP method

    c. request headers

    d. request body

     

    Request headers specify metadata for the request. The request body specifies data for the request, when necessary. If there’s no data to specify, the body is omitted from the request.

    Hope this helps.

  • Parul

    Member
    September 6, 2018 at 6:39 am

    Hi Shradha,

    Components are :-

    a. Resource URI

    b. HTTP method

    c. Request headers

    d. Request body(In case of GET method,we are not able to use Request body)

    e.Request Parameter(These parameter are also append to the URI)

    Thanks

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos