SOA Governance and API Management : Working with REST-based APIs : About CentraSite RESTful API 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 a virtual API is published to Mediator, at run-time, CentraSite only supports GET, POST, PUT, and 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 © 2015- 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback