Skip to content

Instantly share code, notes, and snippets.

Morgan Davies daviesf1

Block or report user

Report or block daviesf1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View response.json
{
"request":{
"method":"GET",
"uri":"/get",
"size":"75",
"request_uri":"http://mockbin.org:8000/get",
"querystring":{
},
"headers":{
View gist:b00bca69b8a6f917c03f
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>" \
View gist:03312148f672029cdd8f
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>"
View gist:400df74b3bfa48ea6e19
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 Apr 21, 2014
Wavecell Curl Snippet
View gist:11152540
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>"
View gist:10685407
curl --include --request GET 'https://community-zenpayroll.p.mashape.com/me?access_token=%3Caccess_token%3E' \
--header "X-Mashape-Authorization: <mashape-key>"
View gist:10029780
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"
View gist:9902103
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 Mar 24, 2014
Vizago - Get Obj Reconstruction
View gist:9746006
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 Mar 17, 2014
Nutritionix Food Search
View gist:9605787
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>"
You can’t perform that action at this time.