codingchili / chili-core

Reactive framework for creating transport & storage-transparent microservices with Vert.x
https://codingchili.github.io/chili-core/
MIT License
14 stars 5 forks source link

HTTP REST listener needs better support for mapping route/target not in params. #235

Closed codingchili closed 6 years ago

codingchili commented 6 years ago

localhost/api/users/photo?id=1

  1. /api/ is the basepath.
  2. /users/ is the target
  3. /photo is the route.
  4. id is the param, which is mapped to the request body.

Need to consider cases where we have nested routes/targets. localhost/api/accounts/sweden/view?query=*

codingchili commented 6 years ago

Fixed.