From 239fff55e7ece851e1cee69d0098e01666c45538 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Mon, 18 Nov 2024 16:35:49 -0700 Subject: [PATCH 1/2] fix(rest): update body req example --- messages/rest.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/messages/rest.md b/messages/rest.md index f5c2ddf..0082c1e 100644 --- a/messages/rest.md +++ b/messages/rest.md @@ -63,8 +63,9 @@ Salesforce CLI defined this schema to be mimic Postman schemas; both share simil Here's a simple example of a JSON file that contains values for the request URL, method, and body: { -"url": "sobjects/Account/", +"url": "services/data/v61.0/sobjects/Account/", "method": "PATCH", +"headers": ["content-type:application/json"], "body" : { "mode": "raw", "raw": { @@ -81,4 +82,4 @@ HTTP header in "key:value" format. # flags.body.summary -File or content for the body of the HTTP request. Specify "-" to read from standard input or "" for an empty body. If passing a file, prefix the filename with '@'. +File or content for the body of the HTTP request. Specify "-" to read from standard input or "" for an empty body. If passing a file, prefix the filename with '@'. From ac6de2e4957ab7ef5f4894687d8a63adb9f1b552 Mon Sep 17 00:00:00 2001 From: Cristian Dominguez Date: Thu, 30 Jan 2025 11:16:50 -0300 Subject: [PATCH 2/2] chore: update workflow --- .github/workflows/validate-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index a312052..e45f966 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -8,4 +8,4 @@ on: jobs: pr-validation: - uses: salesforcecli/github-workflows/.github/workflows/validatePR.yml@main + uses: salesforcecli/github-workflows/.github/workflows/validatePR.yml@ew/validate-wi-in-title