Routes

Routes/Endpoints.

Routes are the main part of an Ask app. Routes are functions are executed when a request is made to them. All routes are built on these three actions:

  • Take in Data.

    • E.g. JSON or Form Data.

  • Action/Do Something.

    • E.g. data processing, database communication, etc.

  • Response.

    • Send back a JSON response (optionally with status codes).

Last updated