Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Trusted Contributor
Posts: 140
Registered: ‎11-23-2010
My Device: Torch 9800
My Carrier: Rogers
Accepted Solution

I need to create a HttpRequestHeader

Hello all,


    Sorry if it's a stupid question but I'm a real noob about QT and everything. I'm trying to create a Http POST Header, so I'm trying to include QHttpRequestHeader but it seems like the library is not found so I look at the dos here : https://developer.blackberry.com/cascades/reference/qhttprequestheader.html and it's telling me that the library is obsolete, but it's not telling me what is it changed for. So i'm kinda in the dark here. Can you guys help me out.


I need to create my header POST on a HTTPS networks and I need to include a JSON part to the header and I'll get another header with some json request. BTW This is a oauth2 request I'm trying to achieve.


Thank you for the help. 

Please use plain text.
Posts: 282
Registered: ‎08-06-2010
My Device: Z10

Re: I need to create a HttpRequestHeader

Please check out my post here: http://supportforums.blackberry.com/t5/Cascades-Development/Sending-data-via-HTTP-post/m-p/2008535#M...


Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples
Please use plain text.