Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 12755
    
    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?.
 
Similar Threads
Post method - Not able to bookmark the page
help
how is the flow in this JSP
How to make a 'post' request from an application to a Servlet
Sending asynchronous http POST requests