Skip to content

Commit

Permalink
remove L option in curl examples
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Oct 23, 2023
1 parent fdc4091 commit efd0262
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/medusa/src/api/routes/admin/auth/get-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { AdminPostAuthReq } from "./create-session"
* - lang: Shell
* label: cURL
* source: |
* curl -L -X POST '{backend_url}/admin/auth/token' \
* curl -X POST '{backend_url}/admin/auth/token' \
* -H 'Content-Type: application/json' \
* --data-raw '{
* "email": "user@example.com",
Expand Down
2 changes: 1 addition & 1 deletion packages/medusa/src/api/routes/store/auth/get-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { StorePostAuthReq } from "./create-session"
* - lang: Shell
* label: cURL
* source: |
* curl -L -X POST '{backend_url}/store/auth/token' \
* curl -X POST '{backend_url}/store/auth/token' \
* -H 'Content-Type: application/json' \
* --data-raw '{
* "email": "user@example.com",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -L -X POST '{backend_url}/admin/auth/token' \
curl -X POST '{backend_url}/admin/auth/token' \
-H 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
curl -L -X POST '{backend_url}/store/auth/token' \
curl -X POST '{backend_url}/store/auth/token' \
-H 'Content-Type: application/json' \
--data-raw '{
"email": "user@example.com",
Expand Down

0 comments on commit efd0262

Please sign in to comment.