Poco HTTPClientSession adding headers to HTTPRequest Poco HTTPClientSession adding headers to HTTPRequest json json

Poco HTTPClientSession adding headers to HTTPRequest


There is one solution. It can help to others.

request.add("string:key","string:value") //In order to add headers to request. 

Eg:

request.add("X-Make","Xiaomi");request.add("X-Model","Redmi 4");request.add("X-Platform","android");request.add("X-Platform-Version","6.0.1");

It works for me.