API create user response


(Raúl Speroni) #1

Hi,

I’m trying to use discourse api from java for creating a user.
It must be simple, and i know it is probably a java issue and not an api issue, but i can´t get it to work.

When sending post request, i get this response:

{"success":true,"active":false,"message":"\u003cp\u003e¡Ya casi has terminado! Te enviamos un correo de activación a \u003cb\u003epepe@email.uy\u003c/b\u003e. Por favor sigue las instrucciones de ese correo para activar tu cuenta.\u003c/p\u003e\u003cp\u003eSi no llega, mira en la carpeta de spam, o intenta iniciar sesión de nuevo para enviar de nuevo otro correo de activación.\u003c/p\u003e"}

But if i do the same thing from a rest client i do get user_id and everything else… would you point out what am i doing wrong?

Thank you.

I’m running latest version of discourse, i’m issuing requests with an admin api_key.