Skip to content

Commit 2e87fd9

Browse files
committed
Fix invalid cURL command example
1 parent cc26d59 commit 2e87fd9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

Diff for: api/desaccess.openapi.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ paths:
2424
DES account credentials and target database
2525
Example (cURL):
2626
27-
curl \
28-
-X POST \
29-
-H "Accept: application/json" \
30-
-d '{"username": "jsmith", "password": "***", "database": "desdr"}' \
31-
https://des.ncsa.illinois.edu/desaccess/api/login
32-
27+
curl -X POST -H "Accept: application/json" \
28+
-d 'username=********' \
29+
-d 'password=********' \
30+
-d 'database=desdr' \
31+
https://des.ncsa.illinois.edu/desaccess/api/login
3332

3433
content:
3534
application/json:
@@ -444,4 +443,4 @@ components:
444443
cutout_summary:
445444
type: object
446445
description: Object with input and processed job options and the detailed output for each cutout
447-
example: {}
446+
example: {}

0 commit comments

Comments
 (0)