I don’t know if this a bug or just a lack of knowledge from my behalf,
But I have this API where the authentication process has two steps:
1 - I need to make a call using a “Cookie” first to get an " x-CSRF-TOKEN" from the response headers ( this call will fail but it is not important)
2- Then once we have the token, we use the “Cookie” + “x-CSRF-TOKEN” for the rest of the API calls.
Like this (first call):
for this API I use this URL to give me back the x-CSRF-TOKEN ( which will fail):
Now the problem I’m facing with Bubble is that the first call won’t show me the response headers, it will only show empty json and an error pop-up
I used the same settings in Postman to test and it is working fine there ( showing me the headers back)
So I believe the problem is within Bubble. Any help would be greatly appreciated.