Forum Discussion
Sowmya_Rayavara
7 years agoNew Contributor III
I have used Rest post snap and it is working for me
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_Rayavara6 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
Related Content
- 5 years ago
- 4 months ago
- 10 months ago