DXtrade API error code
DXtrade API error: 415 Unsupported Media Type
The error, as text you can copy
415 Unsupported Media Type- Kind
- API error code
- HTTP status
- 415
- API
- DXtrade APIs
What does 415 Unsupported Media Type mean on the DXtrade API?
DXtrade REST API: The client sent the message body in a format the server does not understand, that is neither application/xml nor application/json.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
Independent and unofficialdemo.dx.tradechecked
How do I fix 415 Unsupported Media Type?
Send the body as application/json or application/xml.