I would like to do following example:
I would like to have my own microservice - for example - /weater?location=? (and how can I do that "?" would be changed to wanted location in node red?) - then in other node - there should be http request, which should send request to some working API with
location from the url (location=?) - this API should send back JSON with information - I want these information send back to client who used my microservice.
- Is my flow ok? Should it work?
2.I have microservice - /weater?location=? - ? should be always replaced with a location in that url. How can I do that?
- In http request I have:
Again, I need to replace "q=London" with something like "q=?" and "?" should be replaced with location in previous url
- If request is successfuly sent, client should receive answer (json) in http response, am I right?
Thank you for you help