Skip to content

Instantly share code, notes, and snippets.

@daviesf1
daviesf1 / gist:9120091
Created February 20, 2014 18:25
Zumata Booking Example
curl --include --request POST 'https://community-zumata.p.mashape.com/book?api_key=%3Capi_key%3E' \
--header "X-Mashape-Authorization: <mashape-key>"
@daviesf1
daviesf1 / gist:9196597
Created February 24, 2014 20:41
WebMerge
curl --include --request POST 'https://webmerge-webmerge.p.mashape.com/documents' \
--header "X-Mashape-Authorization: <mashape-key>" \
--user "<username>:<password>"
@daviesf1
daviesf1 / gist:9335442
Created March 3, 2014 21:52
Plivo Send a Message
curl --include --request POST 'https://plivo-plivo.p.mashape.com/Account/<auth_id>/Message/' \
--header "X-Mashape-Authorization: <mashape-key>" \
--user "<username>:<password>" \
--header "Content-Type: application/json" \
--data "{\"src\":\"<phone number to be used as caller id>\",\"dst\":\"<the number to which the message needs to be sent>\",\"text\":\"<the text to be send encoded in Unicode UTF-8>\"}"
@daviesf1
daviesf1 / gist:9469568
Created March 10, 2014 17:19
Aylien Article Extraction
curl --include --request GET 'https://aylien-text.p.mashape.com/extract?url=http%3A%2F%2Fwww.bbc.com%2Fsport%2F0%2Ffootball%2F25912393&best_image=false' \
--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>"
@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: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: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: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: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>"