HTTP > Make a request: enable multiple headers with the same name
complete
A
Arnab Chakraborty
Frederick:
I'm working with a soap API and the authentication requires me to, send 2 tokens, receive 3 headers (set-cookie (name:value)). I have to send the 3 headers with every subsequent soap action.
Me trouble is, I can't get the headers from the SOAP authentication action,
I can't use the HTTP module to send the authentication action and then the HTTP retrieve headers module.
The only way I can make it work is by authenticated with the HTTP module and then share cookies and send all my soap actions with the HTTP module and that's quite a pain for a noob.
The 3 Set-Cookie headers should look like this:
Set-Cookie SSID=Token; expires=Fri, 12-Jan-2018 08:02:29 GMT; path=/; HttpOnly; Secure
Set-Cookie SS=TOKEN; expires=Fri, 12-Jan-2018 08:02:29 GMT; path=/; HttpOnly; Secure
Set-Cookie SC=TOKEN; expires=Fri, 12-Jan-2018 08:02:29 GMT; path=/; HttpOnly; Secure
But the only Set-Cookie header I can see in the HTTP output is:
SSID=TOKEN; expires=Fri, 12-Jan-2018 07:14:59 GMT; path=/; HttpOnly; Secure
Log In
Tereza Klobouckova
marked this post as
complete
Dear Makers,
We are pleased to announce that the new HTTP (v4) app now fully supports multiple headers with the same name, ensuring full compliance with the HTTP protocol RFC! 🚀
This update specifically enables correct handling of multiple distinct Set-Cookie headers. The app now accepts and processes these headers exactly as defined by the HTTP specification, ensuring seamless integration with APIs that require them.
This enhancement brings more stability, predictable behavior, and better standards compliance - especially for APIs using complex authentication flows.
Resources:
📚 Get started with our technical guide: https://www.make.com/en/help/app/http
📝 Read the full release notes: https://help.make.com/new-http-app-is-now-available
Happy Automating!
Tereza
The Make Team