Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to post a http POST request in java?.

 
Sandy Marar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I make a post request to https://graph.facebook.com/<app-id>/subscriptions and then get the response?
 
Tim Moores
Bartender
Posts: 2954
46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the simplest case like this: http://www.exampledepot.com/egs/java.net/Post.html
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The open source Apache HttpClient toolkit is really helpful.

Bill
 
pollo star
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic