pythons cripts
This commit is contained in:
@@ -18,6 +18,12 @@ All requests/responses are JSON. Send `Accept: application/json` (Laravel
|
||||
defaults to JSON error responses for API routes regardless, but set it to
|
||||
be safe on validation-error bodies).
|
||||
|
||||
**If you're an agent running on the machine this app is deployed to**, you
|
||||
don't need to build HTTP requests by hand — use the CLI wrappers in
|
||||
`python_scripts/` (`sites.py`, `accounts.py`, `posts.py`; see
|
||||
`python_scripts/README.md`). They default to `http://localhost:8001` and
|
||||
print the same JSON shapes documented below.
|
||||
|
||||
## Mental model
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user