Hi,
I am facing this issue while creating a user via REST API, below is my curl script and getting this response
curl -X POST
http://localhost:8080/xwiki/rest/wikis/xwiki/spaces/XWiki/pages/foo/objects
-H ‘Authorization: Basic UmFqYW5LdW1hcjoxMjM0NTY=’
-H ‘Content-Type: application/x-www-form-urlencoded’
-d ‘className=XWiki.XWikiUsers&property%23first_name=Test&property%23last_name=Kumar&property%23password=*******’
Response
{
“code”: 404,
“contactEmail”: null,
“description”: “The server has not found anything matching the request URI”,
“homeRef”: “/”,
“reasonPhrase”: “Not Found”,
“uri”: “http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5”
}
Kind Regards
Rajan