Skip to main content

Endpoint

Parameters

Request

Response

Examples

Run a script

Run a server and test it

Test runners

When test: true, Petri runs the appropriate test suite automatically:
filename has been replaced by command in v0.4.0 — a breaking change. Pass the full command you would run in your terminal, e.g. python app.py or uvicorn app:app.