I am new to ST2. Now I try to make cross domain call by using Ext.data.JsonP.request.
In my scenario, I need to pass a XML payload to the target URL.
I tried by set like below:
xmlData:payload OR data:payload
Both failed. Target service get the HTTP request but without HTTP BODY data.
When I tried not to pass any payload, this method works fine.
My question is how can I insert a XML payload into the HTTP BODY by using JsonP.request?
I also tried Ext.Ajax.request, but failed because of cross domain call. Only success if I disable web securit in desktop Chrome. Not able to do the call in Android Chrome. Any advice on this?
Thank you very much!