Authorization:Basic *YWRtaW4*=

Is this a new token you have generated for yourself?



On Tue, Sep 8, 2015 at 1:46 PM, Lasantha Dharmakeerthi <[email protected]>
wrote:

> Hi Devs,
>
> I followed the API Manager documentation to Migrate APIs to a different
> environment. Downloaded the WSO2 API import/export tool v0.9.1 and tried to
> export API. But I got 0 byte zip file. So what will be the reason for that?
>
> used command
>
> curl -H "Authorization:Basic YWRtaW4=" -X GET 
> "http://10.100.4.139:9767/api-import-export/export-api?name=WeatherAPI&version=1.0.0&provider=admin";
>  -k > myExportedAPI.zip
>
>
> --
> Dharmakeerthi Lasantha
> Software Engineer Trainee, WSO2
> Mobile 0774928852
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
/sumedha
m: +94 773017743
b :  bit.ly/sumedha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to