pythons cripts

This commit is contained in:
Doar Mihai
2026-07-19 17:52:14 +03:00
parent 4bd21f3234
commit 6ca3750afb
7 changed files with 304 additions and 0 deletions
+6
View File
@@ -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
```