All Verbs | /resources |
---|
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/reply/Resources HTTP/1.1
Host: api.vitalware.com
Content-Type: application/xml
Content-Length: length
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<apiKey>String</apiKey>
</Resources>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ResourcesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types"> <apiVersion>String</apiVersion> <apis> <RestService> <description>String</description> <path>String</path> </RestService> </apis> <basePath>String</basePath> <swaggerVersion>String</swaggerVersion> </ResourcesResponse>