The cookie is only sent on the first request.
I have checked the following:
- [X] I use the newest version of bruno.
- [X] I've searched existing issues and found nothing related to my issue.
Describe the bug
The cookie is only sent on the first request. On all subsequent requests the cookie does not work.
I'm using the cookie to activate Xdebug. It always works only on the first request.
If I close Bruno and open it again, it always works on the first request.
In Postman, it works on all requests normally.
.bru file to reproduce the bug
meta {
name: Pet
type: http
seq: 1
}
post {
url: {{baseUrl}}/pet
body: json
auth: none
}
headers {
Cookie: XDEBUG_SESSION=XDEBUG_PHPSTORM;
}
body:json {
[
{
"id": 3,
"active": true
}
]
}
Screenshots/Live demo link
Hello, everyone.
I really wish I could abandon Postman. But without this fix I can't.
Unfortunately I don't have enough knowledge to create a PR.
@helloanoop , please take a look here.
I have a issue open #1944. I think behind the scenes this is what the issue is with that also. Same behavior. Request only works once.
Basically not all the cookies are being passed on subsequent requests.
I was also having this issue. I have found a workaround. Go to preferences and uncheck "Store Cookies automatically". You might have to clear the already stored cookies. You can do it by quitting the app and opening it again. Or there is a cookie icon at the bottom left. Click that and clear the required cookies.