Skip to content

Instantly share code, notes, and snippets.

@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: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: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: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>"