• #29880

    What is the use of ‘param’ in Salesforce REST API?

    What is the use of ‘param’ in Rest Api? What are the parameters that we pass in it?

    Tagged: , , , , , , ,


    hello Anurag,

    “param” is used to pass values from visualforce page to APEX cotroller.

    REST APIs have four types of parameters:

    • Header parameters: Parameters included in the request header, usually related to authorization.
    • Path parameters: Parameters within the path of the endpoint, before the query string (?). These are usually set off within curly braces.
    • Query string parameters: Parameters in the query string of the endpoint, after the ?.
    • Request body parameters: Parameters included in the request body. Usually submitted as JSON.

    Hi Anurag,

    Parameters are options you can pass with the endpoint (such as specifying the response format or the amount returned) to influence the response. There are four types of parameters: header parameters, path parameters, query string parameters, and request body parameters.

    The different types of parameters are often documented in separate groups on the same page. Not all endpoints contain each type of parameter.


Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?