Welcome!

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

Java Development

Reply
Regular Contributor
Posts: 77
Registered: ‎06-13-2013
My Device: 9900
My Carrier: blackberry cure

How to call json webservice having some parameter in blackberry?

I am implementng json webservice in my application.Till now I use those web service which have no parameter. I take help of this example http://codeoncloud.blogspot.in/2013/05/blackberry-java-json-tutorial.html

I use my server url instead of given url in this example .I got the respone .But my problem is that Now i have to call some method of webservice which have parameter .can you please tell me how to call

Example I have method "helloword" with parameter "handshake" and value "yes"

Developer
Posts: 16,997
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: How to call json webservice having some parameter in blackberry?

instead of a GET you make a POST request. you should be able to find a sample that does that or use the forum search to get posts about that.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter