I got it resolved, I used "public/admin:admin".
Thank you though.

Best regards,
Sandeep Joseph.

On Thu, Apr 16, 2015 at 4:30 PM, Sandeep Joseph <[email protected]>
wrote:

> Hi Support team,
>
> I was trying out the training content , but it seems the server is kicking
> me out. If you can kindly give some insight on it, that would be great.
>
>
>
> c:\curl>curl --anyauth --user admin:admin -X POST
> -d@"../mls-fundamentals/unit02
>
> /config/xml-rest-instance.xml" -i -H "Content-type: application/xml"
> http://loca
>
> lhost:8002/v1/rest-apis
>
> HTTP/1.1 401 Unauthorized
>
> Server: MarkLogic
>
> WWW-Authenticate: Digest realm="public", qop="auth",
> nonce="dae66bba98ebd2fa53fd
>
> e442b84c8b2b", opaque="1df3d4a1c2b014af"
>
> Content-Type: text/html; charset=utf-8
>
> Content-Length: 209
>
> Connection: Keep-Alive
>
> Keep-Alive: timeout=5
>
>
>
> HTTP/1.1 401 Unauthorized
>
> Server: MarkLogic
>
> WWW-Authenticate: Digest realm="public", qop="auth",
> nonce="689a5008aae17d70be10
>
> d7b81ba0d030", opaque="589172d81a8270df"
>
> Content-Type: text/html; charset=utf-8
>
> Content-Length: 209
>
> Connection: Keep-Alive
>
> Keep-Alive: timeout=5
>
>
>
> <html xmlns="http://www.w3.org/1999/xhtml";>
>
>   <head>
>
>     <title>401 Unauthorized</title>
>
>     <meta name="robots" content="noindex,nofollow"/>
>
>   </head>
>
>   <body>
>
>     <h1>401 Unauthorized</h1>
>
>   </body>
>
> </html>
>
>
>
> c:\curl>
>
>
>
> Thanks and Regards,
>
> Sandeep Joseph.
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to