Skip to content

Commit

Permalink
added multiform header
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariangela committed Mar 23, 2023
1 parent 0a3d341 commit b95c5b2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions en/docs/catalogs/runtime-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,7 @@ paths:
- lang: Curl
source: 'curl -k -X POST "https://api.am.wso2.com:9095/api/am/runtime/apis/import-definition"
-H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8"
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Content-Type: multipart/form-data"
-F [email protected] -F [email protected]'

/apis/validate-definition:
Expand Down Expand Up @@ -488,8 +487,7 @@ paths:
x-code-samples:
- lang: Curl
source: 'curl -k -X POST -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8"
-H "Content-Type: application/json"
-H "Accept: application/json"
-H "Content-Type: multipart/form-data"
-F [email protected] "https://api.am.wso2.com:9095/api/am/runtime/apis/validate-definition"'

/apis/validate:
Expand Down Expand Up @@ -649,7 +647,7 @@ paths:
x-code-samples:
- lang: Curl
source: 'curl -k -X PUT -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8"
-H "Content-Type: application/json"
-H "Content-Type: multipart/form-data"
-F [email protected]
"https://api.am.wso2.com:9095/api/am/runtime/apis/01234567-0123-0123-0123-012345678901/definition"'
/apis/export:
Expand Down Expand Up @@ -766,6 +764,7 @@ paths:
x-code-samples:
- lang: Curl
source: 'curl -k -X POST -H "Authorization: Bearer ae4eae22-3f65-387b-a171-d37eaa366fa8"
-H "Content-Type: multipart/form-data"
-F [email protected]
"https://api.am.wso2.com:9095/api/am/runtime/apis/import?preserveProvider=false&overwrite=false"'

Expand Down

0 comments on commit b95c5b2

Please sign in to comment.