Forum Discussion
Sowmya,
I saw your post for running curl command and saw that you ran it successfully using REST POST. can you please share details how to run the curl command using REST POST.
Note: I need to run the curl command like
curl -v -u abc@pqr.com -H ‘Content-Type:application/json’ --data-binary ‘{“unlock”:true}’ ‘https://elastic.snaplogic.com/api/1/rest/asset/user/xyz@pqr.com’
Sowmya_Rayavara
6 years agoNew Contributor III
Hi Anil,
Provide the URL “https://elastic.snaplogic.com/api/1/rest/asset/user/xyz@pqr.com” in service URL and mention content type as application/json
If you use username & password as authentication then use rest basic auth account for authorization