Skip to content

Mushu2a/APIProjetIOT

Repository files navigation

Lumen PHP Framework

Build Status Latest Stable Version License

Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.

Official Documentation

Documentation for the framework can be found on the Lumen website.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Lumen framework is open-sourced software licensed under the MIT license

Web API

List API enable

Method Url Controler@method Information
GET http://geniuscap.fr/user UtilisateurController@index User authenticate
GET http://geniuscap.fr/user/{id} UtilisateurController@find Fetch User by id
POST http://geniuscap.fr/create UtilisateurController@create Create a new User
PUT http://geniuscap.fr/ or (update) UtilisateurController@update Update User auth
DELETE http://geniuscap.fr/ or (delete) UtilisateurController@delete Delete User auth

Send HTTP request (Before create POST).

Ex Headers for login
lastname lastennet
firstname loïc
id NFC Carte xxxxxxxxx

Errors

401 Unauthorized -> You have give wrong 'NFC id' or lastname && firstname
404 Not Found -> You use wrong URI or use bad URL
500 Internal Server Error -> You do something wrong ? No it's good, it's not your fault !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published