I am developing an app on BB 10 based on C++ where I need to send HTTP post requests to the server and retrieve some JSON data. Are there some framework classes that help you send HTTP post requests to the server? Any links to code etc.? Thanks.
Share
I can’t remember which sample app I found this code in, but this worked for what I needed in my app.
Add the following in c++
header file (.hpp)
Then in add this in your main file (.cpp)
this goes inside the main app function
add these functions:
Then in your QML you can access it like so: