Hi All, Is there any solution for this? Isn't it a valid use-case to publish data from a front-end UI ?
On Mon, Dec 14, 2015 at 12:03 PM, Nethaji Chandrasiri <neth...@wso2.com> wrote: > @Inosh - Thanks > > I'm facing another issue [1] when I try to update DAS table from a > different domain. Please correct me if I'm wrong, as far as I know there's > a way to enable CORS for REST API but is there a proper way to do it when > using HTTP event receiver ? > > [1] XMLHttpRequest cannot load > http://10.100.4.112:9766/endpoints/EventReceiverMov. No > 'Access-Control-Allow-Origin' header is present on the requested resource. > Origin 'http://10.100.4.112:9763' is therefore not allowed access. > > Appreciate if someone can help me with this. > > Thanks > > On Fri, Dec 11, 2015 at 2:07 PM, Inosh Goonewardena <in...@wso2.com> > wrote: > >> Hi Nethaji, >> >> You can publish data through HTTP transport [1]. Also please keep in mind >> that if you want to update the record you have to configure the primary >> keys for the table. >> >> [1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver >> >> >> On Fri, Dec 11, 2015 at 11:15 AM, Nirmal Fernando <nir...@wso2.com> >> wrote: >> >>> >>> On Fri, Dec 11, 2015 at 11:07 AM, Nethaji Chandrasiri <neth...@wso2.com> >>> wrote: >>> >>>> Hi, >>>> >>>> I'm currently working on a website to demonstrate a recommender system >>>> using ML. As per chosen scenario when users rate movies I want to update >>>> DAS table (as a new record). Can someone please help me with this? (Data >>>> will be taken from UI). >>>> >>>> >>>> Thanks >>>> -- >>>> *Nethaji Chandrasiri* >>>> *Software Engineering* *Intern; WSO2, Inc.; http://wso2.com >>>> <http://wso2.com/>* >>>> Mobile : +94 (0) 779171059 <%2B94%20%280%29%20778%20800570> >>>> Email : neth...@wso2.com >>>> >>> >>> >>> >>> -- >>> >>> Thanks & regards, >>> Nirmal >>> >>> Team Lead - WSO2 Machine Learner >>> Associate Technical Lead - Data Technologies Team, WSO2 Inc. >>> Mobile: +94715779733 >>> Blog: http://nirmalfdo.blogspot.com/ >>> >>> >>> >> >> >> -- >> Thanks & Regards, >> >> Inosh Goonewardena >> Associate Technical Lead- WSO2 Inc. >> Mobile: +94779966317 >> > > > > -- > *Nethaji Chandrasiri* > *Software Engineering* *Intern; WSO2, Inc.; http://wso2.com > <http://wso2.com/>* > Mobile : +94 (0) 779171059 <%2B94%20%280%29%20778%20800570> > Email : neth...@wso2.com > -- Thanks & regards, Nirmal Team Lead - WSO2 Machine Learner Associate Technical Lead - Data Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev