Prasanth,

Could you please post the details of the http-post call you're making (leaving 
out or changing the password and server name)? I think you're saying that  you 
are calling xdmp:http-post() against an endpoint that has the XQuery below, 
correct?

Dave.

--
Dave Cassel
Developer Community Manager
MarkLogic Corporation<http://www.marklogic.com/>
Cell:  +1-484-798-8720


From: Prasanth N V R <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, October 7, 2014 at 6:21 AM
To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] http call with digest authentication method

Hi,

Am trying to create range index using http-post call with digest authentication.

But it is throwing "401 Unauthorized -You are not authorized to access" error 
message.

But the same works with basic authentication.

Please share your inputs.

Query:
let $config1 := admin:database-add-range-element-index($config, $dbid, 
$indexes-tobe-inserted)
let $configResult := admin:save-configuration($config1)

Thanks,
Prasanth


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to