Changes

SmartConnect - RESTful API

663 bytes added, 19:41, 17 September 2018
no edit summary
}
</pre>
 
===Sending API requests using [[https://curl.haxx.se/|cURL]]===
====Sending a GET request in cURL====
<nowiki>curl -X GET -k -i 'https://example.smartsimple.com/API/1/levelone/?url=https://example.smartsimple.com/API/1/levelone/&companyid=825646&alias=api&username=apiuser@smartsimple.com&password=******&apitoken=U2N4RwUBTn5XZldZXFdfWX1@C2JAWXVuAjIF'</nowiki>
 
====Sending a POST Request in cURL====
<nowiki>curl -X POST -k -i 'https://example.smartsimple.com/API/1/levelone/?url=https://example.smartsimple.com/API/1/levelone/&companyid=825646&alias=api&username=apiuser@smartsimple.com&password=******&apitoken=U2N4RwUBTn5XZldZXFdfWX1@C2JAWXVuAjIF'</nowiki>
 
===POST Response===
Smartstaff
1,385
edits