diff --git a/README.md b/README.md index f6d0f784..88912834 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ $ npm install -g @salesforce/cli $ sf COMMAND running command... $ sf (--version|-v) -@salesforce/cli/2.62.0 linux-x64 node-v20.17.0 +@salesforce/cli/2.62.1 linux-x64 node-v20.17.0 $ sf --help [COMMAND] USAGE $ sf COMMAND @@ -54,7 +54,7 @@ See [architecture page](ARCHITECTURE.md) for diagrams of the Salesforce CLI. - [`sf apex run test`](#sf-apex-run-test) - [`sf apex tail log`](#sf-apex-tail-log) - [`sf api request graphql`](#sf-api-request-graphql) -- [`sf api request rest ENDPOINT`](#sf-api-request-rest-endpoint) +- [`sf api request rest [URL]`](#sf-api-request-rest-url) - [`sf autocomplete [SHELL]`](#sf-autocomplete-shell) - [`sf commands`](#sf-commands) - [`sf config get`](#sf-config-get) @@ -903,31 +903,33 @@ EXAMPLES $ sf api request graphql --body example.txt --stream-to-file output.txt --include ``` -_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.2.2/src/commands/api/request/graphql.ts)_ +_See code: [@salesforce/plugin-api](https://github.com/salesforcecli/plugin-api/blob/1.3.0/src/commands/api/request/graphql.ts)_ -## `sf api request rest ENDPOINT` +## `sf api request rest [URL]` Make an authenticated HTTP request using the Salesforce REST API. ``` USAGE - $ sf api request rest ENDPOINT -o [--flags-dir ] [--api-version ] [-i | -S Example: - report.xlsx] [-X GET|POST|PUT|PATCH|HEAD|DELETE|OPTIONS|TRACE] [-H key:value...] [--body file] + $ sf api request rest [URL] -o [--flags-dir ] [--api-version ] [-i | -S Example: report.xlsx] + [-X GET|POST|PUT|PATCH|HEAD|DELETE|OPTIONS|TRACE] [-H key:value...] [-f file] [-b file] ARGUMENTS - ENDPOINT Salesforce API endpoint + URL Salesforce API endpoint FLAGS -H, --header=key:value... HTTP header in "key:value" format. -S, --stream-to-file=Example: report.xlsx Stream responses to a file. - -X, --method=