mc-router/testing.http

16 lines
276 B
Plaintext
Raw Permalink Normal View History

2020-05-05 01:01:04 +02:00
### 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}}