Send HTTP request error

Hi @Sophia_Braun,

You’re currently passing the parameters in Query Params, but the documentation specifies using form data. We only support sending data in the body (type JSON).

However, I have a workaround :smiley:, Add Code piece then click on ASK AI to generate code.

Copy the following prompt:

Send a POST request to https://thrivecart.com/api/external/students, use fetch, pass the bearer token in the header. For the body, it's form data; fill in the email, course_id, and name.

It should generate something like this:

Press “Use Code,” then replace these values as you did in the query parameters.

Let me know if that works.