where to run curl command for private cloud?
is there any documentation for this?
@Aziz Could you please elobrate more about this.You could execute any of curl instruction from command line section.
Thanks,
Karthik
@Karthik, I mean to say, if I don't have access to the server command interface, then how to run the command?
The basic form of the curl commands for the Edge API is:
curl -x HTTP_METHOD -u uname:PWord http://localhost:8080/v1/PATH/TO/API
Use localhost if you are running it from the Management Server. If you are running from a remote node:
curl -x HTTP_METHOD -u uname:PWord http://MS_IP_OR_DNS:8080/v1/PATH/TO/API
And specify the IP address or DNS name of the Management Server machine.
For example, to verify that the Management Server is in the central POD:
curl -x GET -u sysAdminEmail:password http://localhost:8080/v1/servers?pod=central
See http://docs.apigee.com/private-cloud/latest/test-install for some more examples
Stephen
Aziz,
You can run curl to execute Management API from any machine as long as the machine has access to Management Server on port 8080.
See Stephen comment above.
Maudrit
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |