The CAR server exposes two HTTP endpoints.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/WyattBrashear/507ex-utils2/llms.txt
Use this file to discover all available pages before exploring further.
POST /push accepts a .507ex upload and returns a pull URL with a secret code. POST /pull/<file_id> authenticates a download request and streams the binary back to the caller. The FZX2 CLI handles both automatically, but you can also call the endpoints directly with any HTTP client.
POST /push
Upload a.507ex executable to the server. The server stores the file under the provided file_id, generates a 6-digit secret code, persists its SHA-256 hash, and returns the raw code along with the pull URL.
Content-Type: multipart/form-data
Request fields
The UUID identifier for the file. This value must match the
507ex-id embedded in the executable’s header. The FZX2 CLI extracts this automatically before uploading.The
.507ex binary data to store on the server.Response fields
Always
"success" on a successful upload.A 6-digit numeric code returned as a string (e.g.,
"482910"). This is the raw code — the server stores only its SHA-256 hash. Save this value immediately; it cannot be retrieved again.The full URL to use when pulling the file, in the form
http://<server>/pull/<file_id>.Example
POST /pull/{file_id}
Download a.507ex executable from the server. The caller must provide the SHA-256 hash of the secret code. The server compares the submitted hash against the stored hash and serves the file only if they match.
Content-Type: application/x-www-form-urlencoded
Path parameters
The UUID of the executable to download. This is the same value used when uploading with
/push.Request fields
The SHA-256 hex digest of the numeric secret code. The FZX2 CLI hashes the user-supplied code automatically before sending this request. If you are calling the endpoint directly, hash the raw 6-digit code yourself before submitting.
Responses
| Status | Body | Meaning |
|---|---|---|
200 OK | .507ex binary (attachment) | Authentication succeeded; the file is returned as a download. |
401 Unauthorized | Invalid secret code | The submitted hash does not match the stored hash. |
404 Not Found | File not found | No file with the given file_id exists on the server. |
The FZX2 CLI hashes the secret code with SHA-256 before sending it. If you call
/pull directly (e.g., with curl), you must hash the code yourself. The raw numeric code will always produce a 401 response.Example
.507ex binary served as a file attachment. On failure, the body is a plain-text error message.