3 ms·
Hi wrath, thanks for your feedback. I'll update the Guide to make it more clear, the flow is: 1) You download the Library. 2) Write your implementation, in a
by fosk 16y ago
Hi wrath,
thanks for your feedback.
I'll update the Guide to make it more clear, the flow is:
1) You download the Library.
2) Write your implementation, in a PHP file that includes the Library, without caring about handling HTTP requests, verbs, errors, serializing responses, etc.
3) At this point you have declared some methods, as usual, and in an XML file you specify the name of those you want to distribute and automatically the Library creates a REST API for your methods that handles all the API stuff for you.
4) Just tell us the URL where the Library is located, and that's it. Without uploading anything.
SSL Support: Just put the library under SSL on your server.
Reporting: We'll extend our platform with API analytics.
Here are some samples: http://www.mashape.com/guide/publish/php#samples http://www.mashape.com/guide/publish/php#samples