Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 896 Bytes

http.rest

File metadata and controls

36 lines (27 loc) · 896 Bytes

POST http://localhost:5000/api/login HTTP/1.1 content-type: application/json

{ "username": "admin1", "password": "adminpass" } #####

POST http://localhost:5000/api/login/logout HTTP/1.1 content-type: application/json


POST http://localhost:5000/events HTTP/1.1 content-type: application/json

{ "title": "borrel", "description": "borrel in office", "date": "08-10-2024", "start_time": "19:00", "end_time": "21:00", "location": "office" } ##### PUT http://localhost:5000/events/9903ED01-A73C-4874-8ABF-D2678E3AE23D HTTP/1.1 content-type: application/json

{ "title": "office borrel", "description": "borrel in office", "date": "08-10-2024", "start_time": "19:00", "end_time": "21:00", "location": "office" } #####