4 Replies Latest reply on Aug 11, 2017 5:52 AM by nbhagtani RSS
    nbhagtani Explorer

    Am using GetText method to get data from Web Service but am getting Connection close when huge data is sent

    params = {

      url: "http://178.21.406.842/api/GetHistoricalDataByAttributes?"+encodeURI(queryParams)

    };

     

    var historicJson = Resources["ContentLoaderFunctions"].GetText(params);


    Above is code am writing to get historic data. If am trying to get last 6 months data which is huge like more than 300Mb in that case it gives  me connection close.

    Am testing above code as thingworx service from fiddler client and i receive 500 status and connection close.

    How to optimize in thingworx if data sent is huge and stop closing the connection?