How To
How To Add Query Params To Your Endpoint
Add query parameters to any endpoint
How To Add JSON body To Your Endpoint
Use JSON body with any endpoint
How To Access Stdout
Find the stdout/print statements outside of the Brev runner.
How To Add Environment Variables
Add encrypted environment variables rather than committing secrets in your code.
How to Create an Endpoint
Create an endpoint in your Brev project
How To Accept Different HTTP Methods
Use different HTTP methods on your endpoints
How to Store Data
Set up and use a database in seconds.
How to Save a File
Save files on Brev and access a permanent link to them.
How To Pass Request Files to Your Endpoints
You can use a file as input to any of your endpoints.
How To Return Custom Responses
Return a custom response object using Starlette's response object.