Register user returns HTML instead of JSON.
-
I am trying to use the register function of the json-api-user plugin for wordpress. When I use
get_nonce/?controller=user&method=register
The above function returns a normal JSON with the nonce id. But when I use the register function –
user/register/?username=User&[email protected]&nonce=d15a29a5fa&display_name=HE&user_pass=test&insecure=cool
The user is successfully registered but it returns an HTML instead of JSON.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Register user returns HTML instead of JSON.’ is closed to new replies.