troubleshooting Question

REST APIs and their server implementation

Avatar of thready
thready asked on
JavaScriptHTMLPHP
12 Comments5 Solutions405 ViewsLast Modified:
Hi Experts,
I'd like to know what to do with a request like this on the server:

http://www.example.com/services/1

This is asking for info about a service whose id is 1.  Great.

Am I missing the name of the PHP page in the URL?  I think not because this is how I've seen these REST APIs described - as resources.  So if I want to use PHP to implement this rest API call, what do I do on the server side?

Thanks, I hope this question makes sense.
Mike
ASKER CERTIFIED SOLUTION
thready

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 5 Answers and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros