Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invoke.sh in all the sample has issue while hitting from curl. #91

Open
ravindrasingh22 opened this issue Feb 20, 2018 · 1 comment
Open

Comments

@ravindrasingh22
Copy link

ravindrasingh22 commented Feb 20, 2018

Hi, I have successfully configured the setup, provisioned the sample all but whenever I run ./invoke.sh from any environment the curl throw an error.

`curl http://itravindrasingh-eval-test.https://itravindrasingh-eval-test.apigee.net/v1/learn-edge/json?apikey=dLKTcVdGoSqVnD3JsBpBuw75F091Syy3

Response:
curl: (6) Could not resolve host: itravindrasingh-eval-test.https`

Because in invoke.sh file the $org-$env.$api_domain are getting concatenation which seems incorrect or maybe it is apigeetool configuration issue with the console.

@shubhamkumartyagi
Copy link

Hi,

You need to check the configurations in "setenv.sh" which forms the URL for the curl request.

org="yourID-eval" | you can check this by logging-in to your account
username="emailID" | your login account id
url="https://api.enterprise.apigee.com"
env="test" | test or prod
api_domain="apigee.net"

Cheers,
Shubham

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants