curl command

Not applicable

where to run curl command for private cloud?

is there any documentation for this?

0 4 1,258
4 REPLIES 4

@Aziz Could you please elobrate more about this.You could execute any of curl instruction from command line section.

Thanks,

Karthik

Not applicable

@Karthik, I mean to say, if I don't have access to the server command interface, then how to run the command?

sgilson
Participant V

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

Not applicable

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