Escape the REST API HTTP URL variable syntax.
This commit is contained in:
@@ -438,10 +438,10 @@ containing the following web service endpoints:
|
||||
|===
|
||||
| REST API call | Description
|
||||
|
||||
| / | Returns the home page. Defaults to `/ping`.
|
||||
| /ping | Heartbeat endpoint returning "PONG".
|
||||
| /calculator/factorial/{number} | Computes the _factorial_ of the `number`.
|
||||
| /calculator/sqrt/{number} | Computes the _square root_ of the `number`.
|
||||
| `/` | Returns the home page. Defaults to `/ping`.
|
||||
| `/ping` | Heartbeat endpoint returning "PONG".
|
||||
| `/calculator/factorial/\{number}` | Computes the _factorial_ of the `number`.
|
||||
| `/calculator/sqrt/\{number}` | Computes the _square root_ of the `number`.
|
||||
|
||||
|===
|
||||
|
||||
|
||||
@@ -219,9 +219,9 @@ endpoints, accessible by URL using HTTP:
|
||||
| URL | Description
|
||||
|
||||
| `/ping` | Heartbeat request to test that our application is alive and running.
|
||||
| `/counter/{name}` | Increments the "named" counter.
|
||||
| `/counter/{name}/cached` | Returns the current, cached count for the "named" counter.
|
||||
| `/counter/{name}/reset` | Resets the count for the "named" counter.
|
||||
| `/counter/\{name}` | Increments the "named" counter.
|
||||
| `/counter/\{name}/cached` | Returns the current, cached count for the "named" counter.
|
||||
| `/counter/\{name}/reset` | Resets the count for the "named" counter.
|
||||
|
||||
|===
|
||||
|
||||
|
||||
@@ -714,7 +714,7 @@ for accessing the CRM application via a Web client (e.g. Web browser).
|
||||
| GET `/home` | Returns description of the application.
|
||||
| GET `/ping` | Heartbeat request to test that the application is alive and running.
|
||||
| GET `/customers` | Returns a list of all Customers.
|
||||
| GET `/customers/{name}` | Returns the named Customer.
|
||||
| GET `/customers/\{name}` | Returns the named Customer.
|
||||
| POST `/customers` | Accepts JSON and creates a new Customer.
|
||||
|
||||
|===
|
||||
|
||||
Reference in New Issue
Block a user