I use a XWiki with the build-in authentication. If I try to access some rest pages with this account this works without problems (in Firefox).
If I try the credentials in a curl command (like the example in the Rest-Documentation ) I get the following error:
{“code”:401,“contactEmail”:null,“description”:“The request requires user authentication”,“homeRef”:"/",“reasonPhrase”:“Unauthorized”,“uri”:“http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2”}
Is there a simple reason why this won’t work? Where could I get more information whats going on?
XWiki-Version 12.2, openjdk version “1.8.0_265”