First of all, sorry for replying late, I was on vacations.
Answer is yes, but you need to provide additional info for user registration.
username, display_name, email and nonce. It can be called like this.
http://your-domain/api/user/register/?username=john&nonce=4c39e89947&display_name=John&[email protected]
Sample response:
{
“status”: “ok”,
“msg”: “E-mail address is already in use.”,
“user_id”: null
}
Hope that helps!
Hi,
Thanks for the plugin.
But I am experiencing an error. Whatever I do, I get this message:
You must include a ’email’ var in your request with valid email address.
I have made sure that I am passing all the required variables. Can you please let me know what I might be doing incorrectly.
Here is my request
url?json=User.register&nonce=52297285d2&username=aj&[email protected]&password=test&display_name=aj
Hi,
Thanks for the plugin.
But I am experiencing an error. Whatever I do, I get this message:
You must include a ’email’ var in your request with valid email address.
I have made sure that I am passing all the required variables. Can you please let me know what I might be doing incorrectly.
Here is my request
url?json=User.register&nonce=52297285d2&username=aj&[email protected]&password=test&display_name=aj
Plz try with the permalink structure. like this >>
http://your-domain/api/user/register/?username=john&nonce=4c39e89947&display_name=John&[email protected]
There should not be any problem if the email is valid and does not exist in the db.
Hello, I’m having the same problem.
The thing is when you put the email param it misses @.
If you do a
$json_api->error(“E-mail address is invalid…”. $_GET[’email’]);
or
$json_api->error(“E-mail address is invalid…”. $email);
or
$json_api->error(“E-mail address is invalid…”. $json_api->query->email);
It just simple remove @ in every echo…
Really strange =)