Skip to content

Instantly share code, notes, and snippets.

View rcoe's full-sized avatar

Robert Coe rcoe

  • London
View GitHub Profile
@rcoe
rcoe / gist:d3d0cdfecb1ef02c7015
Created March 15, 2016 16:14
ORDER Blocked 2nd try
curl -X POST -H "Authorization: Basic eWV4dC10ZXN0OkY1NzIxMjkxLTg5NUEtNDRGQy1COTc5LTUzQjE2QzZFNDU1OQ==" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: 4fb20ea9-988b-91c2-d753-5fc3b307f15a" -d '{
"website": "www.gasbuddy.com/Station/15626",
"description": "Shell gas station featuring quality fuel, diesel and convenient store. C-store offers full line of tobacco, beer, wine, liquor, grocery, snacks, soda pop, food, automotive, general merchandise etc. The c-store also has a full service cafe with a drive thru which offers fresh made breakfast, coffe, specialty drinks, smoothie, panini, tacos, burritos, pizza and more.",
"name": "Shell",
"address": "2431 Randall Rd",
"address2": "",
"city": "Carpentersville",
"state": "IL",
"country": "US",
"zip": "60110",
@rcoe
rcoe / gist:cd2b3149ff5fe2acc519
Created March 16, 2016 16:32
Order not idempotent
POST /v1/yext/powerlistings/order HTTP/1.1
Host: gbapi.gasbuddy.com
Authorization: Basic eWV4dC10ZXN0OkY1NzIxMjkxLTg5NUEtNDRGQy1COTc5LTUzQjE2QzZFNDU1OQ==
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 52f7565f-2da5-d2a9-c72c-d6dcb1531ec6
{
"website": "www.gasbuddy.com/Station/15626",
"description": "Shell gas station featuring quality fuel, diesel and convenient store. C-store offers full line of tobacco, beer, wine, liquor, grocery, snacks, soda pop, food, automotive, general merchandise etc. The c-store also has a full service cafe with a drive thru which offers fresh made breakfast, coffe, specialty drinks, smoothie, panini, tacos, burritos, pizza and more.",
@rcoe
rcoe / gist:e612397b676e547aa019
Created March 16, 2016 16:32
Order not idempotent
POST /v1/yext/powerlistings/order HTTP/1.1
Host: gbapi.gasbuddy.com
Authorization: Basic eWV4dC10ZXN0OkY1NzIxMjkxLTg5NUEtNDRGQy1COTc5LTUzQjE2QzZFNDU1OQ==
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 52f7565f-2da5-d2a9-c72c-d6dcb1531ec6
{
"website": "www.gasbuddy.com/Station/15626",
"description": "Shell gas station featuring quality fuel, diesel and convenient store. C-store offers full line of tobacco, beer, wine, liquor, grocery, snacks, soda pop, food, automotive, general merchandise etc. The c-store also has a full service cafe with a drive thru which offers fresh made breakfast, coffe, specialty drinks, smoothie, panini, tacos, burritos, pizza and more.",
{
"attributes": [
{
"attributeId": "serves_vegetarian",
"valueType": "BOOL",
"displayName": "Vegetarian options",
"groupDisplayName": "Offerings",
"valueMetadata": [
{
"value": true,

Keybase proof

I hereby claim:

  • I am rcoe on github.
  • I am rcoe (https://keybase.io/rcoe) on keybase.
  • I have a public key ASDViWtcv5HbArO1cEQdT8XhDLIXxW5N8xP0zormASC0kAo

To claim this, I am signing this object: