Hi

I am using curl tool for sending content through POST method of documents rest 
api   in ML6 and ML7 but in  ML6 I am getting error Unsupported Method whereas 
in ML 7 it is working perfectly.
Is there any way I can write a command using curl  and POST method for ML6 only.


Command:
curl -X POST -d "<Test>OK</Test>"  --digest --user username: password  -H 
"Content-type: application/xml"  
http://serverip/v1/documents?extension=xml&content=/my/directory/

Regards,
Vikas Singh
This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to