This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need to access a Third Party API
 
Similar Threads
language used for native method implementation.
Encryption
How to call external service(Third party api) from Enterprise bean(Session bean)
Creating word documents file from templates.
which version of java supports audio?