This documentation is for WSO2 API Manager 2.0.0 View documentation for the latest release.
Page Comparison - Migrating the APIs to a Different Environment (v.16 vs v.17) - API Manager 2.0.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://wso2.org/jira/browse/DOCUMENTATION-6732

...


Code Block
curl -H "Authorization:Basic <base64-encoded-credentials-separated-by-a-colon>" 
-X GET "https://<APIM_HOST:Port>/api-import-export-<product-version>-<tool-version>/export-api?name=<API-name>&version=<API-version>
&provider=<API-provider>" -k > <exportedApiName>.zip
Tip

To obtain <base64-encoded-credentials-separated-by-a-colon> use a base64 encoder (e.g., https://www.base64encode.org/) to encode your client ID and client secret username and password which has admin role using the following format: <clientId><username>:<clientSecret><password> Thereafter, enter the encoded value for this parameter.


Here's an example:

...