Skip to content

Instantly share code, notes, and snippets.

@nealeu
Created January 8, 2019 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nealeu/5441c16768cff2f9853c52d3421d2dcd to your computer and use it in GitHub Desktop.
Save nealeu/5441c16768cff2f9853c52d3421d2dcd to your computer and use it in GitHub Desktop.
An example OpenRTB request used when testing adapter on prebid-server
# For a quick start check out IDEA's HTTP Requests collection (Tools|HTTP Client|Open HTTP Requests Collection).
POST http://localhost:8000/openrtb2/auction
Content-Type: application/json
{
"id": "must be string",
"imp": [
{
"id": "test-imp-id",
"banner": {
"format": [{"w": 728, "h": 250}]
},
"ext": {
"consumable": {
"networkId": 11,
"siteId": 32,
"unitId": 42,
"unitName": "the-answer"
}
}
}
],
"site": {
"id": "site-id"
}
}
###
@nealeu
Copy link
Author

nealeu commented Jan 8, 2019

The above file can be run with Jetbrains IDEA's HTTP Client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment