Skip to content

Instantly share code, notes, and snippets.

{
"request":{
"method":"GET",
"uri":"/get",
"size":"75",
"request_uri":"http://mockbin.org:8000/get",
"querystring":{
},
"headers":{
curl --include --request POST 'https://contractlive.p.mashape.com/negotiation/negotiation_e98Aaar/attachment' \
--header "X-Mashape-Authorization: <mashape-key>" \
--header "cl_uid: <cl_uid>" \
--header "cl_timestamp: <cl_timestamp>" \
--header "cl_hash: <cl_hash>" \
curl --include --request POST 'https://hackerrank-hackerrank.p.mashape.com/https://api.hackerrank.com/checker/submission.json?api_key=%3Capi_key%3E' \
--header "X-Mashape-Authorization: <mashape-key>"
curl --include --request POST 'https://xplenty.p.mashape.com/xplenation/api/clusters' \
--header "X-Mashape-Authorization: <mashape-key>" \
--user "<username>:<password>" \
@daviesf1
daviesf1 / gist:11152540
Created April 21, 2014 18:52
Wavecell Curl Snippet
curl --include --request GET 'https://wavecell.p.mashape.com/Send.asmx/SendMT?AccountId=MyaccountID&SubAccountId=MySubAccountID&Password=MyPassword&Destination=33123456789&Source=Me&Body=Hello%20World!&Encoding=ASCII&ScheduledDateTime=2012-29-08T17%3A00%3A00&UMID=0' \
--header "X-Mashape-Authorization: <mashape-key>"
@daviesf1
daviesf1 / gist:10685407
Created April 14, 2014 21:54
Zenpayroll
curl --include --request GET 'https://community-zenpayroll.p.mashape.com/me?access_token=%3Caccess_token%3E' \
--header "X-Mashape-Authorization: <mashape-key>"
@daviesf1
daviesf1 / gist:10029780
Created April 7, 2014 18:52
VerticalResponse
curl -i -X POST \
-H "X-Mashape-Authorization: <mashape-key>" \
-d "clientId=<client_id>" \
-d "clientSecret=<client_secret>" \
-d "scope=<scope>" \
-d "callback=http://guardian.mashape.com/callback" \
"https://verticalresponse.p.mashape.com/oauth_url"
@daviesf1
daviesf1 / gist:9902103
Created March 31, 2014 20:59
Next Caller
curl -i -X POST \
-H "X-Mashape-Authorization: <mashape-key>" \
-d "clientId=undefined" \
-d "clientSecret=undefined" \
-d "scope=<scope>" \
-d "callback=http://guardian.mashape.com/callback" \
"https://nextcaller-next-caller.p.mashape.com/oauth_url"
@daviesf1
daviesf1 / gist:9746006
Created March 24, 2014 18:19
Vizago - Get Obj Reconstruction
curl --include --request GET 'https://3dface.p.mashape.com/getobj.php?fitid=fit%3A8A8B8048-9297-4D70-91BB-5134CFA5D9CC' \
--header "X-Mashape-Authorization: <mashape-key>"
@daviesf1
daviesf1 / gist:9605787
Created March 17, 2014 18:51
Nutritionix Food Search
curl --include --request GET 'https://nutritionix-api.p.mashape.com/v1_1/search/cheddar cheese?fields=item_name%2Citem_id%2Cbrand_name%2Cnf_calories%2Cnf_total_fat' \
--header "X-Mashape-Authorization: <mashape-key>"