https://github.com/mvakili/webapi
Simple web based project based on PHP
https://github.com/mvakili/webapi
flight json php redbean webapi
Last synced: 24 days ago
JSON representation
Simple web based project based on PHP
- Host: GitHub
- URL: https://github.com/mvakili/webapi
- Owner: mvakili
- Created: 2016-03-17T10:58:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-17T17:47:53.000Z (about 9 years ago)
- Last Synced: 2025-02-16T11:29:44.654Z (3 months ago)
- Topics: flight, json, php, redbean, webapi
- Language: PHP
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webAPI
webAPI is PHP based API, you send commands to it and it returns json object
for example http://localhost/abcdefghij12356/book/getBook?id=11 means:
my TOKEN is "abcdefghij123456"
i want to execute a method named "getBook"
from class "Book"
with parameter "id=11"
This will execute on server and return result like:
---
{
"format":1,
"api":1,
"response":{
"name":"Artificial Intelligence",
"price":"1500",
"desc":"Edition 4",
"city":"\u062a\u0628\u0631\u06cc\u0632",
"status":"OPEN"
}
}
---
#
>>>>>>> 6529d1c7ea886f46ab1dae93a7fae309bf92e2ef