In my BlackBerry application I need to make some HTTP request using the builtin browser.
Thanks to this old question, I managed to make some GET requests.
Now, my question is: what about making POST requests? Is it even possible?
In my BlackBerry application I need to make some HTTP request using the builtin browser.
Thanks to this old question, I managed to make some GET requests.
Now, my question is: what about making POST requests? Is it even possible?
Explore the class BrowserField
.
You can use following methods:
void
requestContent
(String url, byte[] postData, Hashtable requestHeaders)
void
requestContent
(
BrowserFieldRequest
request)