November 2017
Beginner to intermediate
306 pages
7h 43m
English
What could make more sense than to target the Cloud Foundry instance you want to deploy your application into? To do that, you must set the Cloud Foundry API endpoint to which your cf CLI will issue commands. Behind the scenes, your cf CLI will have a back-and-forth conversation with the Cloud Foundry instance using RESTful calls. And, as with all RESTful calls, you must have an API endpoint to communicate with.
To set the API endpoint to PWS, type the following command in your Terminal:
$ cf api https://api.run.pivotal.io
You should see the API target set with feedback from the command line, like so:

If so, ...
Read now
Unlock full access