Successful API Request With PHP

Avatar image for jakerevans
Jakerevans

2

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Ok, I'm about at my wit's end here. Has anyone made successful API calls with PHP??? I've tried both cUrl and file_get_contents, and neither are working. Iwork with Google and Amazon's API all day long, so I should be able to figure this out, but if anyone has good working examples, I'd appreciate it!!!

Thanks!!!!!

Avatar image for whatsthatgame
whatsthatgame

18

Forum Posts

6084

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#2  Edited By whatsthatgame
Avatar image for halderim
Halderim

1

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

The important thing is you need to send a user agent with the request

Avatar image for inputmapper
InputMapper

26

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Yea, curl works fine once you set the user agent.