Hi I follow the tutorial for generating an API proxy
I just used the Persons API spec.
giving me a proxy at http://myname-trial-test.apigee.net/persons
issuing a curl command like
curl http://myname-trial-test.apigee.net/persons
gives error "Couldn't resolve host '.....
Do I need to open up a firewall or something ?!
my os is Windows
The problem you're seeing is related to DNS name resolution. The DNS name in this case is "myname-trial-test.apigee.net" . This is a name that Apigee would have to provision into the DNS system, automatically on your behalf, when you originally requested a trial organization for Apigee Edge.
There are two classes of problem that might lead to the symptom you're seeing.
For the first class of problem, the cause can be : Apigee failed to provision the name, OR You are using an incorrect DNS name. For the second class of problem, that should be quite rare. To eliminate that, you can use an online DNS resolution tool like this one.
Assuming the DNS lookup online gives you the same results as you see on your local machine, it indicates the name truly does not exist in DNS. Which leads us to the first class of problem. Let's check that out.
First, you're not actually using "myname-trial-test", right? You are substituting "myname" out and using an actual organization name, right?
In my case, since the name of my org is "cheeso", the curl call would be something like
curl -i https://cheeso-trial-test.apigee.net/persons
Actually older organizations will not even use the word "trial" in the DNS name, so in my case it is:
curl -i https://cheeso-test.apigee.net/persons
Can you check that?
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |