Overview
HTTP verbs
Tourism media (Travel Content Service) tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP verbs.
Verb | Usage |
---|---|
|
Used to retrieve a resource |
|
Used to create a new resource |
|
Used to update an existing resource, including partial updates |
|
Used to delete an existing resource |
HTTP status codes
Tourism media (Travel Content Service) tries to adhere as closely as possible to standard HTTP and REST conventions in its use of HTTP status codes.
Status code | Usage |
---|---|
|
The request completed successfully |
|
A new resource has been created successfully. The resource’s URI is available from the response’s
|
|
An update to an existing resource has been applied successfully |
|
The request was malformed. The response body will include an error providing further information |
|
The requested resource did not exist |
Rest API
Generate a message
Generate a message
Curl Request
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/curl-request.adoc[]
Http ie Request
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/httpie-request.adoc[]
Http Request
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/http-request.adoc[]
Request parameters
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/path-parameters.adoc[]
Http Response
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/http-response.adoc[]
Response fields
Unresolved directive in api-hello-controller-guide.adoc - include::/home/runners/actions-runner/_work/plp-commissions-calculator-feed-service/plp-commissions-calculator-feed-service/target/generated-snippets/hello-controller/response-fields.adoc[]