agtzdimi / planet

PLANET Project
0 stars 0 forks source link

Define route parameters in HTTP GET #69

Closed agtzdimi closed 5 years ago

agtzdimi commented 5 years ago

Whenever we request an HTTP GET with route parameters we need to modify the route in Express to handle these cases. Currently having only the endpoint is wrong

agtzdimi commented 5 years ago

This link should be useful from the expressJS official: https://expressjs.com/en/guide/routing.html

agtzdimi commented 5 years ago

express handles this information through req.query. No further configuration needed in the current implementation