Using PHP for Api - GET and POST Commands

Discussion in 'PHP' started by blackburn2413, Nov 8, 2011.

  1. #1
    Hey everyone, just looking to be pointed in the right direction. I have an api I am starting to work with and am stuck. I have a REST Client setup to test out the Api functions and that is working great. It is now about time to move this into my site for real. Problem is, I have never worked with an Api in this manner before and specifically calling the Api with the methods being GET and POST. I was hoping someone might be able to point me in the direction of some examples or tutorials on this. I am still researching as we speak and if I find it I will edit the post to include this for anyone who may need it later as well.

    Thank you all in advance!
     
    blackburn2413, Nov 8, 2011 IP
  2. blackburn2413

    blackburn2413 Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    hmm... tried to edit my original post but it would save... I have found that cURL is an option it seems but I am not sure if this is true. Regardless I am not set on any one method so any help or suggestions would be appreciated.
     
    blackburn2413, Nov 8, 2011 IP
  3. energizedit

    energizedit Greenhorn

    Messages:
    96
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #3
    I have used cURL before and that works for getting http
     
    energizedit, Nov 8, 2011 IP
  4. blackburn2413

    blackburn2413 Member

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #4
    Well thats a start in the right direction! Would you happen to have any favorite resources that I could read up on to teach myself this? Thanks!
     
    blackburn2413, Nov 8, 2011 IP