Hi Kalpa,

You can try on JavaScript to encode and decode base64 string. You can have
a look on [1].

[1]
http://stackoverflow.com/questions/246801/how-can-you-encode-a-string-to-base64-in-javascript


Thanks with best regards,
Inshaf

On Wed, Nov 11, 2015 at 3:24 PM, Nipuna Chandradasa <[email protected]>
wrote:

> Hi,
>
> Sorry for the typing mistake ...
>
> you can import the java method for Base64 encoding inside the jaggery and
> use it ...
>
> Regards,
>
> On Wed, Nov 11, 2015 at 3:23 PM, Nipuna Chandradasa <[email protected]>
> wrote:
>
>> Hi,
>>
>> As far as i know there is no inbuilt method for jaggery ....  but u
>> import the java method for Base64 encoding inside the jaggery and use it....
>>
>> Regards,
>>
>> On Wed, Nov 11, 2015 at 3:08 PM, Kalpa Welivitigoda <[email protected]>
>> wrote:
>>
>>> Hi all,
>>>
>>> Is the $subject possible?
>>>
>>> My requirement is to encode username/password in Base64 to be used to
>>> call a REST API.
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: [email protected]
>>> Mobile: +94776509215
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Nipuna Marcus
>> *Software Engineer*
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>> Mobile : +94 (0) 713 667906
>> [email protected]
>>
>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inshaf Mahath
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to