Endpoints manager

{% for endpoint in endpoints %} {% endfor %}
ID URL Action
{{ endpoint.id }} {{ endpoint.url }}

cURL Commands

# Get all endpoints
curl http://windows.local:5000/api/endpoints

# Get Endpoint 1
curl http://windows.local:5000/api/endpoints/1

# Get Endpoint 2
curl http://windows.local:5000/api/endpoints/2

# Update Endpoint 1
curl -X PUT http://windows.local:5000/api/endpoints/1 -H "Content-Type: application/json" -d '{"url": "http://new.url/for/endpoint1"}'

# Update Endpoint 2
curl -X PUT http://windows.local:5000/api/endpoints/2 -H "Content-Type: application/json" -d '{"url": "http://new.url/for/endpoint2"}'