Set Custom HTTP Headers for REST Call

edited January 23, 2016 in Questions
I need to set a few HTTP headers in a REST call. How can this be done?

Comments

  • bump.


    I have a rest endpoint where I need to set header parameters, not at the connector level but specifically with data values. I need a body and headers, so I can't use the 'In request headers - one per changed field'


    Is this possible?

  • Hi Paul, have you been able to make any progress on this?

    1. We recommend you test out your request in Postman first to make sure it works, and then you can transcribe the values into Skuid.
    2. Headers that should be sent with every request are set up at the Data Source level ( Data sources --> Data Source --> Common HTTP Request Data)


    3. For values to be set in the Body, you can set this up using a snippet. In the model properties, for Request Body Contents, you can choose As custom payload format in request body, and then you can write a Payload generation snippet to use for this.


    4. Parameters: You can send dynamic values in the Data source URL on the model properties.


    Does that help answer your question?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!