From 0338ce7eba1effb2a09d63fe5760fa9f69567d49 Mon Sep 17 00:00:00 2001 From: tedrand Date: Wed, 11 Oct 2017 13:47:23 -0600 Subject: [PATCH] changed post content-type in bidder factory to 'application/json', as this is the stated standard for Prebid 1.0.0. --- src/adapters/bidderFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapters/bidderFactory.js b/src/adapters/bidderFactory.js index becc4afc029..f4f4032d99b 100644 --- a/src/adapters/bidderFactory.js +++ b/src/adapters/bidderFactory.js @@ -249,7 +249,7 @@ export function newBidder(spec) { typeof request.data === 'string' ? request.data : JSON.stringify(request.data), { method: 'POST', - contentType: 'text/plain', + contentType: 'application/json', withCredentials: true } );