> POST /api/deploymentPolicies HTTP/1.1
> Host: localhost:9443
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.43.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 432
>
< HTTP/1.1 201 Created
< Date: Mon, 05 Oct 2015 04:34:35 GMT
< Location: https://localhost:9443/api/deploymentPolicies/deployment-policy-1
< Content-Type: application/json
< Transfer-Encoding: chunked
< Server: WSO2 Carbon Server
<
{"status":"success","message":"Deployment policy added successfully: [deployment-policy-id] deployment-policy-1"} |