Answer the question
In order to leave comments, you need to log in
Request in an OpenRTB request encoded with url_encoded?
Good day friends!
To send a request to a third-party server, you must pass the qeury parameter , which I quote "query - the request in the OpenRTB request, encoded with url_encoded". What did you mean, do you think?
An example of the query itself:
{
"site": {
"page": "http://siteabcd.com/page.htm",
[или "page_b": "aHR0cDovL3NpdGVhYmNkLmNvbS9wYWdlLmh0bQ=="]
[или "page_m": "be53be0529acd44f6c8add3e202b27ce"]
},
"device": {
"ip": "64.124.253.1"
},
"user": {
"id": "45asdf987656789adfad4678rew656789",
},
"ext": {
"exchangename": "google"
}
}
Answer the question
In order to leave comments, you need to log in
Полагаю, от вас хотят чтобы вы строку с запросом пропустили через urlencode(). Хотя, если вы из PHP делаете запросы с помощью какой-нибудь библиотеки типа Guzzle и пользуетесь встроенным контейнером параметров, то в таком случае, скорее всего, кодирование применяется автоматически.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question