Skip to content

RESTful API created using Fat-Free Framework. Sample data and docs included.

License

Notifications You must be signed in to change notification settings

AndrejWeb/restful-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API

RESTful API created using Fat-Free Framework. https://fatfreeframework.com/

Sample data is included in api_data.sql

There is an option to log API requests which can be disabled in the class Api.php by setting

$log_api_calls = false;

on line 6.

Here's how the logging looks like in backend i.e. database.

API log

The API is located in api/

Below is a list of allowed methods and API endpoints.

Method URI
GET /
GET /{id}
GET user/{id}
GET /completed
GET /uncompleted
POST /
PUT /{id}
DELETE /{id}
DELETE user/{id}
DELETE /delete/{id}
DELETE /delete/all

About

RESTful API created using Fat-Free Framework. Sample data and docs included.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •