wood burning stoves 2.0*
The moose likes Spring and the fly likes Need to access a Third Party API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Need to access a Third Party API" Watch "Need to access a Third Party API" New topic
Author

Need to access a Third Party API

Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

Hi friends,

Could someone please guide me, how to pass a request to a third-party API along with the parameters.

Either they provide us with a package?

Currently i registered with a third party API and they give me the login credentials but since its a start-up company they didnt provide me with any documentation.

Please help me out


Never try to be a hard-worker. Be a smart-worker.
My Blog
Lorand Komaromi
Ranch Hand

Joined: Oct 08, 2009
Posts: 276
Rajkumar balakrishnan wrote: Could someone please guide me, how to pass a request to a third-party API along with the parameters.


Are you talking about an HTTP request? If so, you can use HttpURLConnection (sample code) or Apache Commons HttpClient!


OCJP 6 (93%)
Rajkumar balakrishnan
Ranch Hand

Joined: May 29, 2008
Posts: 445

^^

Thanks friend. But i will rather go for Web Services as the response will be an XML file.

 
 
subject: Need to access a Third Party API