File tree 2 files changed +16
-20
lines changed
2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -14,24 +14,22 @@ Run any valid GraphQL statement via the /graphql [API](https://developer.salesfo
14
14
15
15
- Runs a mutation to create an Account, with an ` example.txt ` file, containing
16
16
17
- ``` text
18
- mutation AccountExample {
19
- uiapi {
20
- AccountCreate(input : {
21
- Account: {
22
- Name: "Trailblazer Express"
23
- }
24
- }) {
25
- Record {
26
- Id
27
- Name {
28
- value
17
+ mutation AccountExample{
18
+ uiapi {
19
+ AccountCreate(input: {
20
+ Account : {
21
+ Name: "Trailblazer Express"
22
+ }
23
+ }) {
24
+ Record {
25
+ Id
26
+ Name {
27
+ value
28
+ }
29
29
}
30
30
}
31
31
}
32
32
}
33
- }
34
- ```
35
33
36
34
<%= config.bin %> <%= command.id %> --body example.txt
37
35
Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ Make an authenticated HTTP request to Salesforce REST API and print the response
22
22
23
23
- or with a file 'info.json' containing
24
24
25
- ``` json
26
- {
27
- "Name" : " Demo" ,
28
- "ShippingCity" : " Boise"
29
- }
30
- ```
25
+ {
26
+ "Name": "Demo",
27
+ "ShippingCity": "Boise"
28
+ }
31
29
32
30
<%= config.bin %> <%= command.id %> 'sobjects/account' --body info.json --method POST
33
31
You can’t perform that action at this time.
0 commit comments