Hi,

I have called using below code snippet a store rest API.

var serviceURL =
"/publisher/api/asset/get/uuid/mobileapp"+provider+"/"+name+"/"+version;
invokerUtil.get(
    serviceURL,
    function (data) {
        console.log("call succeeded...............!");
    },
    function (data) {
        console.log("error occured.................!!!");
    }
);


This call is done in a javascript method from emm to publisher jaggery app.
But this call will fail with 401 unauthorised error. How do I get
authenticate this call?

Thanks
-- 
Lakshman Udayakantha
WSO2 Inc. www.wso2.com
lean.enterprise.middleware
Mobile: *0714388124*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to