CentraSite Documentation : Working with REST-based APIs : Getting Started with the CentraSite REST API Data Model : Resource Methods : Supported HTTP Methods
Supported HTTP Methods
CentraSite supports the standard HTTP methods for modeling APIs: GET, POST, PUT, DELETE, HEAD, OPTIONS, PATCH, TRACE, and CONNECT.
Important:  
During virtualization of an API, CentraSite does not support the following HTTP methods: HEAD, OPTIONS, PATCH, TRACE, and CONNECT. This is because, when the virtual API is published to Mediator, at run-time Mediator only supports GET, POST, PUT, DELETE.
The following table describes the semantics of HTTP methods for our sample Phone Store API.
Resource URI
HTTP Method
Description
/phones/orders
GET
Asks for a representation of all of the orders.
/phones/orders
POST
Attempts to create a new order, returning the location (in the Location HTTP Header) of the newly created resource.
/phones/orders/{order-id}
GET
Asks for a representation of a specific Order resource.
/phones/orders/{order-id}
DELETE
Requests the deletion of a specified Order resource.
/phones/orders/{order-id}/status
GET
Asks for a representation of a specific Order's current status.
/phones/orders/{order-id}/paymentdetails
GET
Asks for a representation of a specific Order's payment details.
/phones/orders/{order-id}/paymentdetails
PUT
Updates a specific Order's payment details.
For information on the HTTP methods that CentraSite ships, in CentraSite Control, go to Administration > Taxonomies. On the Taxonomies page, enable the Show all Taxonomies option. Navigate to HTTP Methods in the list of taxonomies.
Copyright © Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback