Last active
August 29, 2015 13:57
-
-
Save Walexander/9664126 to your computer and use it in GitHub Desktop.
Bid Requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v -H "Origin:http://x.beanstock.co" -H "Accept: application/json" -H "Content-type: application/json" -X POST -d "$data" http://pr.ybp.yahoo.com/bid/beanstock | |
> POST /bid/beanstock HTTP/1.1 | |
> Host: pr.ybp.yahoo.com | |
> Origin:http://x.beanstock.co | |
> Content-Length: 666 | |
< HTTP/1.1 200 OK | |
< Content-Length: 0 | |
< Date: Thu, 20 Mar 2014 13:44:25 GMT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"device": { | |
"js": 1, | |
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36", | |
"ip": "68.13.197.30" | |
}, | |
"user": { | |
"id": "d6c24a6a-d40b-79ea-52c9-3f27d5dc1df7" | |
}, | |
"bcat": [], | |
"badv": [ | |
"domain.com" | |
], | |
"site": { | |
"domain": "reference.co", | |
"page": "http://reference.co/browse/foobar", | |
"id" : "153651" | |
}, | |
"imp": [ | |
{ | |
"bidfloor": 0, | |
"banner": { | |
"battr": [], | |
"topframe": 1, | |
"pos": 0, | |
"h": 50, | |
"w": 320 | |
}, | |
"id": "caf9951c94" | |
} | |
], | |
"at": 2, | |
"id": "54324e944c" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/success.json 2014-03-20 10:00:23.000000000 -0400 | |
+++ /tmp/fail.json 2014-03-20 09:59:37.000000000 -0400 | |
@@ -12,8 +12,8 @@ | |
"domain.com" | |
], | |
"site": { | |
- "domain": "reference.com", | |
- "page": "http://reference.com/browse/foobar", | |
+ "domain": "reference.co", | |
+ "page": "http://reference.co/browse/foobar", | |
"id" : "153651" | |
}, | |
"imp": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"device": { | |
"js": 1, | |
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36", | |
"ip": "68.13.197.30" | |
}, | |
"user": { | |
"id": "d6c24a6a-d40b-79ea-52c9-3f27d5dc1df7" | |
}, | |
"bcat": [], | |
"badv": [ | |
"domain.com" | |
], | |
"site": { | |
"domain": "reference.com", | |
"page": "http://reference.com/browse/foobar", | |
"id" : "153651" | |
}, | |
"imp": [ | |
{ | |
"bidfloor": 0, | |
"banner": { | |
"battr": [], | |
"topframe": 1, | |
"pos": 0, | |
"h": 50, | |
"w": 320 | |
}, | |
"id": "caf9951c94" | |
} | |
], | |
"at": 2, | |
"id": "54324e944c" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment