python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
how to test that fetch response is a type of ArrayBuffer
I have a function that returns arrayBuffer type response, this function is fetching the .jpeg or .pdf data and then I use it to show document in the browser:
export async function getStatementsPDF(url...

Detoner
Votes: 0
Answers: 1
Fetch locally stored file with Javascript
My browser will display HTML files stored on my computer, and allow them to link to local stylesheets/scripts. It will also display text files. However, it seems like I can't use the Fetch API to acce...
Stonks
Votes: 0
Answers: 0
PHP $_POST variables are null when sending FormData() in a fetch request
I am sending FormData() to a PHP script with the following JS:
async function callFetch(url, body, accept) {
let headers = accept ? {"Content-Type":"application/x-www-form-urlencode...

SpyFromWarcraft3
Votes: 0
Answers: 1
Javascript: nested fetch with foreach loop..?
this is my problem: I need to make some fetch POST requests to my server. The server holds a list of names. Each name corresponds to a list of elements which I need to browse, in order to find a speci...
CodeStallion
Votes: 0
Answers: 1