Show Menu
TOPICS×

Setting the HTTP request type

The request body for all Media Collection API requests must be in JSON format, so you should set the content request type in your player. For example, in JavaScript you would set the
Content-Type
request header as follows:
httpRequest.setRequestHeader('Content-Type', 'application/json');