mc-router/testing.http
2020-05-04 18:01:04 -05:00

16 lines
276 B
HTTP

### Get routes
GET {{baseUrl}}/routes
Accept: application/json
### Create route
POST {{baseUrl}}/routes
Content-Type: application/json
{
"serverAddress": "{{serverAddress}}",
"backend": "{{backend}}:25565"
}
### Delete route
DELETE {{baseUrl}}/routes/{{serverAddress}}