I need to set a few HTTP headers in a REST call. How can this be done?
Page 1 / 1
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?
We recommend you test out your request in Postman
- first to make sure it works, and then you can transcribe the values into Skuid.
Headers
- that should be sent with every request are set up at the Data Source level ( Data sources --> Data Source --> Common HTTP Request Data)
- 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.
- Parameters: You can send dynamic values in the Data source URL on the model properties.
Does that help answer your question?
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.