gin_http/functional-test/events.http

20 lines
446 B
HTTP

### GET All events
GET http://localhost:8080/events
### Post a new event
POST http://localhost:8080/events/
content-type: application/json
{
"name": "My test event",
"description": "this is a event I creted for testing",
"location": "test location",
"dateTime": "2025-01-01T13:40:00.000Z",
"UserId": 0
}
### Get a Single Event
GET http://localhost:8080/events/1
### Get a non existing event
GET http://localhost:8080/events/10000
###