Share feedback, ideas and get community help

Updated 7 months ago

POST Request - query params added without being present

At a glance

The community member is trying to make a POST request without any query parameters, but is receiving an error "PGRST202" and it seems that the server is adding query parameters itself. The community member has tried the same request on Postman and it works fine. Other community members suggest that a POST request without parameters and body doesn't make sense, but the original poster clarifies that they are trying to create an automated session key for a bot in a Supabase database. The community members also suggest that if the community member wants to send an empty body, they should check the "Custom body" option and leave it empty.

Hi,

I am trying to make a POST Request with NO Query params. I have added the correct Headers.

I am getting an error "PGRST202", and in the details, it seems as though it's adding query params itself!?

I have tried the same POST Request on Postman, and it's working perfectly.
Attachments
Screenshot_2024-06-04_134418.png
Screenshot_2024-06-04_134440.png
d
B
m
8 comments
I have tried to create a new typebot, and the same thing persists.
No params, no body as well?
No params, and no body aswell
a POST request without params and body ? It doesn't make sense to me, strange
Yeah, to create an automated session key for the bot in a supabase database.
I've added some params such as osversion, browsertype, devicetype, ip address, region etc now and it works. But just letting you know that without query params and a body, it wasn't working.
Oh right, I understand. Because by default Typebot sends a body with all the current answers
If you'd like to send an empty body you'd need to check Custom body and leave it empty I guess πŸ™‚
Add a reply
Sign up and join the conversation on Discord