T
Typebot•11mo ago
doctorai

POST Request - query params added without being present

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.
No description
No description
6 Replies
doctorai
doctoraiOP•11mo ago
I have tried to create a new typebot, and the same thing persists.
Baptiste
Baptiste•11mo ago
No params, no body as well?
doctorai
doctoraiOP•11mo ago
No params, and no body aswell
michaelvips
michaelvips•11mo ago
a POST request without params and body ? It doesn't make sense to me, strange
doctorai
doctoraiOP•11mo ago
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.
Baptiste
Baptiste•11mo ago
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 🙂

Did you find this page helpful?