invoke.sh is returning the incorrect url while running samples.

Hi, I am facing the issue when I deploy the sample API APIGEE-EDGE (unchanged after pulling from github). Deployment goes well and i get the following message.

Deployment on test successful
"learn-edge" Revision 1
  deployed
  environment = test
  base path = /
  URI = http://itravindrasingh-eval-test.apigee.net/v1/learn-edge
  URI = https://itravindrasingh-eval-test.apigee.net/v1/learn-edge

but just after that when I execute it generates the incorrect URL as mentioned below so I get error message on curl 'curl: (6) Could not resolve host: itravindrasingh-eval-test.https error'.

Now, we will call the API proxy with this curl command: curl -i http://itravindrasingh-eval-test.https://itravindrasingh-eval-test.apigee.net/v1/learn-edge
0 2 73
2 REPLIES 2

Hi @ravindrasingh - We'll look into this. Thanks for posting.

Hey again @ravindrasingh - Let's try a couple of things to start fresh.

  • On your file system, find and delete HOME/.learn-edge.rc.
  • Deploy the sample again (start with the first one). The script should prompt you for your account info again. When it asks for your organization name, enter itravindrasingh-eval (instead of the entire URL to your organization).

See if that gets you going again.