Skip to content

Commit

Permalink
highlight some text
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4cks committed Dec 26, 2023
1 parent 3767fd3 commit 9f463d5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,19 +252,19 @@ Concerning the `wol` module, as mentioned earlier, it does not allow you to shut

### API

An api is available to create shortcuts easily on iOS, for example.
An api is available to create `shortcuts` easily on `iOS`, for example.

Three routes are available:

#### `/api/up`

This endpoint is used to start the server.

**Method:** POST
**Method:** `POST`

**Response on success:**

Status code: 200
Status code: `200`

Body:

Expand All @@ -276,7 +276,7 @@ Body:

**Response on error:**

Status code: 500
Status code: `500`

Body:

Expand All @@ -291,13 +291,13 @@ Body:

This endpoint is used to shutdown the server.

This route requires authentication using Basic Auth. For information on how to use Basic Auth, please refer to this [documentation](https://en.wikipedia.org/wiki/Basic_access_authentication).
This route requires authentication using `Basic Auth`. For information on how to use `Basic Auth`, please refer to this [documentation](https://en.wikipedia.org/wiki/Basic_access_authentication).

**Method:** POST
**Method:** `POST`

**Response on success:**

Status code: 200
Status code: `200`

Body:

Expand All @@ -309,7 +309,7 @@ Body:

**Response on error:**

Status code: 500
Status code: `500`

Body:

Expand All @@ -325,11 +325,11 @@ Body:

This endpoint is used to retrieve the server state.

**Method:** GET
**Method:** `GET`

**Response on success:**

Status code: 200
Status code: `200`

Body:

Expand Down

0 comments on commit 9f463d5

Please sign in to comment.