H:\Tomcat\nonWindows\apache-tomcat-8.0.9>cf curl /v2/service_plans/c62e66da-e793-409d-920b-038afcd74914
{
"metadata": {
"guid": "c62e66da-e793-409d-920b-038afcd74914",
"url": "/v2/service_plans/c62e66da-e793-409d-920b-038afcd74914",
"created_at": "2014-07-30T22:52:30+00:00",
"updated_at": null
},
"entity": {
"name": "normal",
"free": true,
"description": "Normal MS SQL Server Database Connection",
"service_guid": "1d4b8b8f-5819-4e3d-a5e0-444e9c844073",
"extra": null,
"unique_id": "normalPlanId",
"public": false,
"active": true,
"service_url": "/v2/services/1d4b8b8f-5819-4e3d-a5e0-444e9c844073",
"service_instances_url": "/v2/service_plans/c62e66da-e793-409d-920b-038afcd74914/service_instances"
}
}
H:\Tomcat\nonWindows\apache-tomcat-8.0.9>cf curl /v2/service_plans/c62e66da-e793-409d-920b-038afcd74914 -X 'PUT' -d '{"public":true}'
502 Bad Gateway: Registered endpoint failed to handle the request.
H:\Tomcat\nonWindows\apache-tomcat-8.0.9>set CF_TRACE=true
H:\Tomcat\nonWindows\apache-tomcat-8.0.9>cf curl /v2/service_plans/c62e66da-e793-409d-920b-038afcd74914 -X 'PUT' -d '{"public":true}'
VERSION:
6.3.0-053b818
REQUEST: [2014-07-30T17:18:32-06:00]
'PUT' /v2/service_plans/c62e66da-e793-409d-920b-038afcd74914 HTTP/1.1
Host: api.10.244.0.34.xip.io
Accept: application/json
Authorization: [PRIVATE DATA HIDDEN]
Content-Type: application/json
User-Agent: go-cli 6.3.0-053b818 / windows
'{public:true}'
RESPONSE: [2014-07-30T17:18:32-06:00]
HTTP/1.1 502 Bad Gateway
Connection: close
Content-Length: 67
Content-Type: text/plain; charset=utf-8
Date: Wed, 30 Jul 2014 23:18:24 GMT
X-Cf-Routererror: endpoint_failure
502 Bad Gateway: Registered endpoint failed to handle the request.
-Ramesh--
You received this message because you are subscribed to the Google Groups "Cloud Foundry Developers" group.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/cacf8657-a6a3-4d25-9ebe-d7d7dd3ffec5%40cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CACZHfhpAAhz0c%2BwthWH%2BNRSS7MCr2Z1ey7ZuD%3Dz66mfa1N%2B49g%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CAB%3Dt-sXqK_W1AY1FUKgjRD-7U4JcOsYDCFwSqdBwscDTVjYZ%3DQ%40mail.gmail.com.
Finally, I figured a way to do it. I uploaded the cf to vagrant box and executed cf curl from there and it worked.
So the issue is specific to windows version of cf.
Can somebody point me to place where I can know more about the vms running bosh
(bosh vms)
Which vm hosts the components in "A Tour of Each Component" (http://docs.cloudfoundry.org/concepts/architecture/)
Thanks all
-Ramesh
To view this discussion on the web visit https://groups.google.com/a/cloudfoundry.org/d/msgid/vcap-dev/CACZHfhqydeZTM%2BbjKnmA%2Ba17oeSwR5qmF%2Bap%2ByM_%2B6WnSfWvog%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.