Join the Webstudio community

Updated 3 months ago

API Post params in url

At a glance

A community member is building a form that creates new users by connecting to an auth API endpoint. The form is a POST request, same as the API, but the user data (email and password) is being added to the URL as a query string on form submission. The community member wants to know how to prevent the user data from being added to the URL.

I'm connecting auth API endpoint and build a form that creates new users. The API is a post, same as the form. However, the user data is getting added to the url on submit. There's user email & password.

How can I keep that content from getting added as a query string in my url?
Attachment
CleanShot_2024-11-05_at_11.04.102x.png
Add a reply
Sign up and join the conversation on Discord