Difference between Add and Get in route |
add makes it available across all HTTP verbs, while get will only respond to GET requests. You'll have better security to limit each route only to the HTTP verb that it needs, so I would recommend NOT using add() personally.
|
Welcome Guest, Not a member yet? Register Sign In |