reqwest
reqwest copied to clipboard
browser asynchronous http requests
Hi, I'm trying to create a function on my site that will enable a user to click a button, and then search based on their location. I'm trying to use...
when using esbuild with vite. this file generates an exception. ``` TypeError: Cannot use 'in' operator to search for 'window' in undefined at reqwest.js:15 at reqwest.js:8 at ../node_modules/reqwest/reqwest.js (reqwest.js:10) at...
I've made a fix to handle progress event by progress parameter + promise-style function.
Hi, I'm not sure if this repo is still maintained, but I can't seem to manage to set the request `Content-Type` header to `application/json`. The following code results in it...
response data:  then I get 
reqwest(reqParams).then( (res: IResponse = {}) => { td = Date.now() - ts; resolve({ tinem: moment().format('HH:mm:ss'), msg: res.resultMsg || 'OK', delay: td }); }, (error: any) => { td = Date.now()...
It would be nice if a cache parameter can be passed to an ajax request: if set to false, it will force requested pages not to be cached by the...