my API controller is returning a csv file as seen below:      [HttpPost]     public HttpResponseMessage GenerateCSV(FieldParameters fieldParams)     {         var output = new byte[] { };         if (fieldParams!= null)         {             using...
I'm sending an http request using the http.request function, and I would like to read the whole http response like text; that is, the raw http protocol text. Is it possible? I've written the below code but it's not working.  // Set up the...
I have this code where the client uploads a file to the server through an AJAX POST request and then the server uploads that file to a cloud (cloudinary), and responds to the AJAX request after the upload is completed.  The problem occurs when the fi...
here is some part of my code  xmlhttp.open("GET", theUrl, true); document.imglive.innerHTML = '<img src="data:image/jpeg,' + xmlhttp.responseText + '"/>';   that don´t seem to work. i also tried  document.imgliv...
I'm trying to intercept Set-Cookie response header from fetch's response:    fetch('https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png', { 	method: 'get' }).then(function(response) {     f...
I have a happy javascript based client that talks to my Django server-side code. I use several XMLHttpRequests for interactions and everything is fine there.  Now there is one user interaction where I'd like to receive user-sent info at the serve...
I'm using node v0.12.7 and want to stream directly from a database to the client (for file download). However, I am noticing a large memory footprint (and possible memory leak) when using streams.  With express, I create an endpoint that simply p...
I have web application (In java) where I need to restrict Cross Domain request through Ajax call in any browser (Including IE restricting XDomainRequest object) through jquery or simple javaScript ajax call.  My ultimate aim it to restrict it while t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.