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

unable to add user defined targetEndPoints with proxy_gen.sh #69

Open
rsekhaross opened this issue May 20, 2016 · 0 comments
Open

unable to add user defined targetEndPoints with proxy_gen.sh #69

rsekhaross opened this issue May 20, 2016 · 0 comments

Comments

@rsekhaross
Copy link

rsekhaross commented May 20, 2016

While creating proxy it is not taking proxy and target end points

Tried with both content type JSON and XML

JSON:- curl -H "Content-type:application/json" -X POST -d '{"name" : "Products", "targetEndpoints":[{"targetEndpoint" : {"targetEndpoint" : "BOD-Products-Endpoint"} }] }' https://api.enterprise.apigee.com/v1/o/$org/apis -u $username:$password

XML:- curl -H "Content-type:application/xml" -X POST -d "<APIProxy name="Products">defaultBOD-Product-Endpointfalse" https://api.enterprise.apigee.com/v1/o/$org/apis -u $username:$password

@rsekhaross rsekhaross changed the title Proxy create using proxy_gen.sh unable to generate proxy with proxy_gen.sh May 20, 2016
@rsekhaross rsekhaross changed the title unable to generate proxy with proxy_gen.sh unable to add user defined targetEndPoints with proxy_gen.sh May 24, 2016
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

1 participant