Hello ALi,
Thanks a lot for your reply. It worked for me. Now my question is how can I update user using your API. Please give me the url for updating user.
Thanks and Regards
Vaskar
Hello Ali,
Thanks a lot for your reply.
I tried with both small and capital ‘U’, but still facing the same issue. and getting the error
{“status”:”error”,”error”:”Unknown controller ‘user’.”}
Please guide me how to resolve the issue.
Thanks in advance
Vaskar
my server’s php version is 5.6.12. I have installed plugins “JSON API” as well as “JSON API User” and activated both. Also I could get the nonce using the url http://mydomain/test/api/get_nonce/?controller=user&method=register.
I tried to register with the following url according to your suggestion
http://mydomain/test/api/User/register/?username=john&[email protected]&nonce=a1c34ed402&display_name=John
But when I am getting the following error
“{
“status”: “error”,
“error”: “Unknown controller ‘user’.”
}”
please let me know what should I do to get it work properly.
Thanks in advance
Vaskar