Category "fetch"

HTTPS Request : CORS error but I still get data

I'm making HTTPS request to a private API (hosted Itop), I get an response but I get CORS Multiple Origin Not Allow error so my JavaScript program can't use the

How to fix the problem of react app not loading in Safari?

I built an application by using create-react-app, react-redux, react-router-dom, and material UI. The app uses Fetch API for http requests. It's working in Chro

Reactjs setState asynchronous

I am building a little search engine and got following problem: Everytime I enter a query, the last letter is missing. I figured out, that it has something to

How to get access to data in Github Repo with Nodejs Express

I'm currently trying to get COVID-19 from the Covid Data Repository by Johns Hopkins. https://github.com/CSSEGISandData/COVID-19 The repo get updated with new d

React Native / Expo : Fetch throws “Network request failed”

I saw several posts on the subject but without result. I have on the one hand a form which collects information (name, first name etc) then saves it in database

Post Form Using Fetch and Check Status OK

How does one get the reponse code when posting form data using fetch with vanilla JS, I have this code which posts but does not check response code with respons

movie-trailer npm isn't working properly in my netflix clone project

I've made a netflix clone using React.js, firebase, and have used TMDB api for movie database. I've also used react-youtube and movie-trailer npm. So it has thi

Fatal error: Uncaught Error: Call to undefined method mysqli_stmt::fetch_assoc() [duplicate]

i'm trying to learn mysqli. i get this error: Fatal error: Uncaught Error: Call to undefined method mysqli_stmt::fetch_assoc() in C:\xampp\h

REACT - Express : fetching data doesn't work on reload when user connected

I've deploy my first app using React with Nodejs/Express/MongoDB but I'm running through a bug I couldn't find any solution, so I'm coming here to find some hel

testing fastapi response to next.js with fetch, promise stuck in pending?

my fetch is stuck in pending when I query a fastapi endpoint in local dev. followed this blog and a few others - https://damaris-goebel.medium.com/promise-pendi

Flutter The argument type 'String' can't be assigned to the parameter type 'Map<String, dynamic>'

I got the problem when I want to fetch Data from PONS API. import 'package:eng_it_translator/model/model.dart'; import 'package:http/http.dart'; import 'dart:co

How to send an image and additional data body using fetch

I'm trying to upload an image to a serverless function on firebase. I'm sending the request like this: const updateProfileImage = (image) => { fetch(

fetch blocked by privacy-gateway

I'm making a fetch GET request and keep on getting returned the error: Uncaught (in promise) Error: https://api.tomtom.com/search/2/search/6%george%20street.jso

Using IFTTT web hook with values; values doesn't get through

I am running the following Javascript code: const httpPost = (title, msg, trigger, key) => { const URL = `https://maker.ifttt.com/trigger/${trigger}/with

How to post data with fetch to functions.php

I am trying to make a fetch request to the functions.php file. I am trying to avoid jQuery and Ajax thats why I am using the standard fetch API. My code in one

retrieve data from database using session

Hi I had read topics here and tried doing it in different ways but my problem still not solved. I tried storing session and use it to retrieve data again from t

Chained Fetch Promises (JSON, React, Webpack, NodeJS)

I need to fetch something 10 times and return the JSON of each request and push that into state. Most of the fetching works, but slows down about half way and h

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

I am getting the following error message on the code below (which is at the end of the query): Warning: mysql_num_rows(): supplied argument i

Fetch data from website table using vba

I need to constantly update excel file with information, obtained from the following link (warning, ukrainian language): link to the Ministry of Finance web-sit