34 lines
658 B
HTTP
34 lines
658 B
HTTP
###
|
|
GET http://localhost:7272/api/AccessLog
|
|
|
|
###
|
|
GET http://localhost:7272/api/AccessLog?accessLogId=51f2f5dd-78be-4069-ba29-09d2a5026191
|
|
|
|
###
|
|
POST http://localhost:7272/api/AccessLog
|
|
content-type: application/json
|
|
|
|
{
|
|
"data": {
|
|
"userId": "user123",
|
|
"ipAddress": "192.168.1.1",
|
|
"userAgent": "Mozilla/5.0",
|
|
"action": "LOGIN",
|
|
"path": "/api/auth/login",
|
|
"status": 200
|
|
}
|
|
}
|
|
|
|
###
|
|
PUT http://localhost:7272/api/AccessLog?accessLogId=51f2f5dd-78be-4069-ba29-09d2a5026191
|
|
content-type: application/json
|
|
|
|
{
|
|
"data": {
|
|
"status": 404
|
|
}
|
|
}
|
|
|
|
###
|
|
DELETE http://localhost:7272/api/AccessLog?accessLogId=51f2f5dd-78be-4069-ba29-09d2a5026191
|