Hi Fathima,

Hope this helps.

*1) Login *

curl -v  -X POST -c cookies -k
https://apps.appfactory.private.wso2.com:9443/appmgt/site/blocks/user/login/ajax/login.jag
-d
'action=login&[email protected]&password=12345'

*2) Rest client execution command*

eg :- DatabaseRestClient.getDatabases()

curl -v  -X POST -b cookies -k
https://apps.appfactory.private.wso2.com:9443/appmgt/site/blocks/resources/database/add/ajax/add.jag
-d
'action=getDatabases&applicationKey=ja001'

On Fri, May 1, 2015 at 8:11 PM, Fathima Dilhasha <[email protected]>
wrote:

> Hi,
>
> I am trying to do $subject. Can someone share curl commands that I can use
> to access the REST API for App Factory?
>
> Thanks.
> Regards,
> Dilhasha
>
>
>
> Fathima Dilhasha Nazeer <http://lk.linkedin.com/in/dilhasha/>
> (M.N.F.Dilhasha)
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Mahesh Chinthaka Vidanagama* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 63 63 083 | Work: +94 112 145 345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to