Pass cookie in API

Adnan Hanif said:

Hi,
i have tried the above method, its not working. I just want to know that as we have cookies button in postman for passing cookies, do we have any field in Katalon where we can pass cookies?
i am passing cookies in header in this format
SAAS_COMMON_BASE_TOKEN_ID 86c7e4e9-f478-427f-a150-072db89e4d17
Please help, i am not able to upload attachment due to company policy

Well, due to not having the complete cookie (I understand the privacy issues), I assume your case should look something like this:

SAAS_COMMON_BASE_TOKEN_ID=86c7e4e9-f478-427f-a150-072db89e4d17; path=/; domain=your_domain

Now, replace the cookie value with the whole value, if 86c7e4e9-f478-427f-a150-072db89e4d17 is not complete. Then replace “your_domain” with the address of the domain you are trying to log in.

So basically your request should look like this one in the picture below:

image.png