aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes How to post a http POST request in java?. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "How to post a http POST request in java?." Watch "How to post a http POST request in java?." New topic
Author

How to post a http POST request in java?.

Sandy Marar
Greenhorn

Joined: Dec 22, 2011
Posts: 16
How can I make a post request to https://graph.facebook.com/<app-id>/subscriptions and then get the response?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
In the simplest case like this: http://www.exampledepot.com/egs/java.net/Post.html
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12778
    
    5
The open source Apache HttpClient toolkit is really helpful.

Bill
pollo star
Greenhorn

Joined: Mar 06, 2012
Posts: 2
A post request can be used for multiple purposes on the web. It can be used for performing the create or update operations for various resources.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to post a http POST request in java?.