How to add Cookie to Bubble API PUT request

Hi There :wave:

I’m attempting to create an API PUT call that utilizes cookies I saved to my database. I’m required to send a cookie and cannot find the proper place to put it. While cookies are held in the header of an API call, I don’t seem to have the functionality to add said cookie.

Before sending this API PUT, I am successfully able to collect a cookie with a POST that signs me into a service and returns to me the unique cookie (which I save to my database)

How can I dynamically input that saved cookie into the header of a new API PUT call?

A side note - The topics covered here look to be on the right path to help me - but the dynamic abilities are constrained to the body and I believe I need to place the cookie in the header.

Thank you

In API calls you can make a header and make the checkbox for “private” unchecked and then can set dynamically. Just can’t do that for shared headers.

1 Like

Thanks you for responding, I really appreciate it.

I think I’m still a bit confused. I’ve unchecked the private option but still don’t have the option to introduce dynamic data to the header. What am I missing here?

Bubble API Cookie Header Small

Add a static value where you’ve entered the world ‘Value’ in order to initialize the call…

then you can then define that value dynamically in your workflow…

1 Like