Skip to content

Commit 2221f36

Browse files
Update messages/rest.md
Co-authored-by: Juliet Shackell <63259011+jshackell-sfdc@users.noreply.github.com>
1 parent 4acc1da commit 2221f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

messages/rest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ For a full list of supported REST endpoints and resources, see https://developer
3232

3333
- Update an account record using the PATCH method:
3434

35-
<%= config.bin %> <%= command.id %> '/services/data/v56.0/sobjects/account/<Account ID>' --body "{\"BillingCity\": \"San Francisco\"}" -X PATCH
35+
<%= config.bin %> <%= command.id %> '/services/data/v56.0/sobjects/account/<Account ID>' --body "{\"BillingCity\": \"San Francisco\"}" --method PATCH
3636

3737
- Store the values for the request header, body, and so on, in a file, which you then specify with the --file flag; see the description of --file for more information:
3838

0 commit comments

Comments
 (0)