Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First try: Rest api url : http://neutron-server:9696/v2.0/security-groups/ method : post headers: token, accept and content-typ as usual body: { "tenant_id": "f5213473f7c5476fa3e98da32145a49a", "name": "defaulttest", "description": "default test method" } Response:

Status Code: 404 Not Found
Connection: keep-alive
Content-Length: 52
Content-Type: text/plain; charset=UTF-8
Date: Mon, 03 Feb 2014 07:39:12 GMT

If I alter the url and remove the trailing '/' I get

Response: Status Code: 400 Bad Request Connection: keep-alive Content-Length: 67 Content-Type: application/json; charset=UTF-8 Date: Mon, 03 Feb 2014 07:40:36 GMT

response body:

{
   "NeutronError": "Unable to find 'security_group' in request body"
}

The same error comes from python-neutronclient