I have an API with base path /northstar runs by Edgemicro, the API look like
/northstar/service-x
/northstar/service-y
/northstar/service-z
Each API invoke to different target endpoints. But when I deploy to Edgemicro, I only can call to basepath /northstar and other api I got message "Cannot GET /service-x"
The Edge Microgateway acts as a proxy, it will forward your request (including path suffix, verb, headers, payload, etc) to the target endpoint you've defined.
Have you tried invoking GET <your-target-endpoint>/service-x? What did you get?
Thanks @deboraelkin, sorry if I have not clear my question:
I want to create a API includes following paths:
/northstar/service-x: invoke to http://service-x.com
/northstar/service-y: invoke to http://service-y.com
/northstar/service-z: invoke to http://service-z.com
How can I do that with Edgemicro gateway? Thanks
You will need to create 3 different Microgateway-aware proxies on Edge like this:
See What you need to know about Edge Microgateway-aware proxies for more details
Thank you for your suggesstion
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |