netclock/querysheet.http

32 lines
625 B
Text
Raw Normal View History

2020-09-12 17:51:47 +00:00
# Create a new countdown clock with
# 5000 seconds
POST http://localhost:5000/countdown/api/v1
Content-Type: application/json
{"total": "150"}
2020-09-13 13:07:11 +00:00
# Set id
2020-09-13 18:04:03 +00:00
:id = 224489a4-799d-4960-9dd1-56c4b81d1c2e
2020-09-13 13:07:11 +00:00
# Start
PATCH http://localhost:5000/countdown/api/v1/start/:id
# Stop
PATCH http://localhost:5000/countdown/api/v1/stop/:id
# Reset
PATCH http://localhost:5000/countdown/api/v1/reset/:id
2020-09-13 18:04:03 +00:00
# GET
GET http://localhost:5000/countdown/api/v1/:id
# GET
GET http://localhost:5000/worldclock
# POST
POST http://localhost:5000/worldclock
2020-10-26 10:07:42 +00:00
# Autocomplete timezone
GET http://localhost:5000/timezone/api/v1/autocomplete?complete=abc