Update README.md

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2024-10-28 15:44:22 +01:00
committed by GitHub
parent 68eaf122c2
commit a96664369b

View File

@@ -2,15 +2,15 @@
## Endpoints ## Endpoints
`curl https://firmware-hq.dev/v1/timezone` `curl https://api.firmware-hq.dev/v1/timezone`
Will return the timezone information for the requesting client. Uses the external IP of the client Will return the timezone information for the requesting client. Uses the external IP of the client
`curl https://firmware-hq.dev/v1/timezone/Europe` `curl https://api.firmware-hq.dev/v1/timezone/Europe`
Will return all locations within the area. Will return all locations within the area.
`curl https://firmware-hq.dev/v1/timezone/Europe/Berlin` `curl https://api.firmware-hq.dev/v1/timezone/Europe/Berlin`
Will return the timezone information for a specific area/location combination. Will return the timezone information for a specific area/location combination.