Deviopath › Go

Method Router

Hard · HTTP

Route "METHOD path" keys to handler names. GET /users and POST /users are different. If the exact key is missing, return "not found".

Write Route(routes, method, path) that returns the handler name.

Next: Stop on Cancel