Returns an example message.
| Code | Reason |
|---|---|
200 - OK |
Request was successful. |
| Code | Reason |
|---|---|
405 - Method Not Allowed |
The method is not allowed for the requested URL. |
| Name | In | Type | Description |
|---|---|---|---|
| msg | body | string | Contains “This is an example endpoint” |
Returns the fruit you sent.
| Name | In | Type | Description |
|---|---|---|---|
| fruit | body | string | A fruit. Must one of [banana, strawberry] |
| Code | Reason |
|---|---|
200 - OK |
Request was successful. |
400 - Bad Request |
Invalid request. |
| Code | Reason |
|---|---|
400 - Bad Request |
Invalid request. |
403 - Forbidden |
This fruit is forbidden. |
405 - Method Not Allowed |
The method is not allowed for the requested URL. |
| Name | In | Type | Description |
|---|---|---|---|
| msg | body | string | Contains “Your fruit is a <fruit>” |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.