mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-14 04:46:29 +00:00
Api endpoint is with slash at the end (#846)
``` $ curl -H "Content-Type: application/json" -H "Authorization: Bearer SECRET" http://localhost:8123/api; echo '' 404: Not Found $ curl -H "Content-Type: application/json" -H "Authorization: Bearer SECRET" http://localhost:8123/api/; echo '' {"message": "API running."} $ ```
This commit is contained in:
parent
223dde2deb
commit
24d04f8474
@ -61,7 +61,7 @@ Successful calls will return status code 200 or 201. Other status codes that can
|
|||||||
|
|
||||||
The API supports the following actions:
|
The API supports the following actions:
|
||||||
|
|
||||||
<ApiEndpoint path="/api" method="get">
|
<ApiEndpoint path="/api/" method="get">
|
||||||
|
|
||||||
Returns a message if the API is up and running.
|
Returns a message if the API is up and running.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user