I have some EC 2 applications (in node.js) that have many REST paths, and since still in development process, the path keep changing.
How can I set up in the api-gateway, that will map to multiple paths, instead of specify each of them?
e.g.
my ec2 end points have:
my.ec2.com/api/test
my.ec2.com/api/test1
my.ec2.com/api/test2
http://ift.tt/1Lv2kIa
http://ift.tt/1ivptOY
http://ift.tt/1Lv2iju
instead of setting the all resources in api-gateway, can I do something like: http://ift.tt/1Lv2kIc that points to my.ec2.com/api/
and it will resolve any call to http://ift.tt/1Lv2kIe automatically points to http://ift.tt/1ivpuTi, etc. ?
Aucun commentaire:
Enregistrer un commentaire