Post JSON From a File
Send a JSON request body from stdin.
Recipes solve one narrow job. Start with the command, then read the notes when you need variants or failure guidance.
Recipes that use api.rest.sh are intended to be runnable. Recipes that use
private hostnames such as service.internal.test show the command shape for
your own infrastructure.
Send a JSON request body from stdin.
Send multipart/form-data with normal fields and a file.
Use the resettable /items fixture with a unique ID.
Print one field per collection item.
Save response body bytes instead of formatted output.
Save raw bytes while capturing verbose headers separately.
Write one JSON document to a file.
Collect a paginated response before counting items.
Delegate request auth to a local helper executable.
Trust a private certificate authority for one request.
Use a TLS signer plugin when the client private key must stay outside Restish.