prebid / prebid-server

Open-source solution for running real-time advertising auctions in the cloud.
https://prebid.org/product-suite/prebid-server/
Apache License 2.0
433 stars 741 forks source link

How can I test an auction with request and response in localhost? #2997

Open Shaharbad opened 1 year ago

Shaharbad commented 1 year ago

Hey everyone,

I was wondering if could you please guide me with using the /openrtb2/auction endpoint in my localhost. Please provide me the POST request body, the sample request and a sample response.

I tried to understand from the docs but couldn't achieve it.

bretg commented 1 year ago

Maybe this will help? https://github.com/prebid/prebid-server-java/tree/master/sample/requests

The requests will be the same for PBS-Go. Exactly where the stored responses go might differ.

POST request body, the sample request and a sample response

The POST request body and the sample request are the same thing.

Shaharbad commented 1 year ago

Maybe this will help? https://github.com/prebid/prebid-server-java/tree/master/sample/requests

The requests will be the same for PBS-Go. Exactly where the stored responses go might differ.

POST request body, the sample request and a sample response

The POST request body and the sample request are the same thing.

Could you share an example for a stored request, stored response and body for using the /auction endpoint?

bretg commented 1 year ago

Again, see https://github.com/prebid/prebid-server-java/tree/master/sample/requests

guscarreon commented 1 year ago

Question seems to be answered

SyntaxNode commented 1 year ago

Reopening to track as a documentation issue.