plivo api
Paths such as/Number/ are relative to /v1/Account/<auth_id>/. Full paths beginning with /v1/Account/ are used as given. Keep the trailing slash.
GET and HEAD do not need --yes. Writes with POST, PUT, PATCH or DELETE require it; --dry-run previews the request. For example, create msg.json with your sender and recipient:
msg.json
--body @- reads JSON from standard input. With --method, omit the positional method:
--query adds a URL parameter, not a JSON filter. Repeat it for multiple parameters.
- Errors. An HTTP error gets the same code and exit code as on any other command: a 404 is
RESOURCE_NOT_FOUND(exit1), a 401 exits2and a 429 exits4. The HTTP status stays instatus_code, and the API’s own body incontext.upstream. See Exit codes. - Redirects. A redirect is not followed. A 3xx exits
3and names where it pointed, which is usually a missing trailing slash on the path. - Secrets. Auth tokens and passwords in the response read
[REDACTED]unless you add--show-secrets. - Paths. A path with a control character in it is refused before any request.
plivo api
plivo api
UsageFlags