0
connecton via rest api
i neef to show values via rest api from sql using php. how should i do it?
1 Answer
+ 1
If you want to write one yourself you can use the URL parsing functions within PHP to decode the request. Then have PHP query the database and return the data in the JSON , XML, or other format you wish to supply to the user. There are books and tutorials on building actual REST api engines that work with your Web server and pass the decoded request to your specific database handler php page.