Karol GostK
BuildShip16mo ago
6 replies
Karol Gost

GET API Call with empty body now returns null

Hey, all the time until today I used GET API Call to Stripe with empty body. It was working fine.
Today however, it started to reject empty body for me (1st screen)
I tried to provide empty body: {}, but then API call returns null value (2nd screen).

Is something changed recently for API calls node?
image.png
image.png
Solution
So apparently I need to add empty object to json body:
{}

Strange, because it didn't work for me at first. But it works now
Was this page helpful?