Skip to content

Conversation

@pvg13
Copy link

@pvg13 pvg13 commented Dec 18, 2025

I saw that the register user api call from auth did not have a function in the Rust client. I added it, although I had some issues when doing so.

It seems like the API call for /api/auth/v1/register does not actually allow input in a JSON format, it requires the CONTENT_TYPE: application/x-www-form-urlencoded and the fields to be a form.

I circumbeted the issues with a custom function that does the call with a new reqwest client however, probably there is a better solution in the server side that allows a json body and thus the register call can be unify in the same way as other API calls.

I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant