Skip to content

Instantly share code, notes, and snippets.

@krames
Created August 2, 2013 20:39
Show Gist options
  • Select an option

  • Save krames/6143292 to your computer and use it in GitHub Desktop.

Select an option

Save krames/6143292 to your computer and use it in GitHub Desktop.
curl --include --header "Accept: application/json" --header "X-Auth-token: MY_SECRET_TOKEN --request PUT --data-binary '{
"name": "workers",
"cooldown": 60,
"minEntities": 0,
"maxEntities": 0,
"metadata": {
"firstkey": "this is a string",
"secondkey": "1"
}
}' "https://dfw.autoscale.api.rackspacecloud.com/v1.0/772045/groups/2066dd25-c590-4f0d-b94a-5f59887888b4/config"
HTTP/1.1 500 Server Error
Server: Jetty(8.0.y.z-SNAPSHOT)
Content-Type: application/json
Date: Fri, 02 Aug 2013 20:34:05 GMT
Transfer-Encoding: chunked
Via: 1.1 Repose (Repose/2.8.0)
Connection: close
x-response-id: a01048b8-667e-4af4-9854-d9944e4af6af
{"message": "An Internal Error was encountered", "code": 500, "type": "InternalError", "details": ""}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment