Flutter – I cannot fetch data from api
I created an flutter app with a Laravel back-end. I build the APK file for my app and installed it on to my mobile phone and connected my mobile phone to the same network as my computer with WiFi (my…
I created an flutter app with a Laravel back-end. I build the APK file for my app and installed it on to my mobile phone and connected my mobile phone to the same network as my computer with WiFi (my…
I use next js and I'm trying to make a static site with Wordpress as a backend, I managed to deploy my site with gitlab which deploys to an ftp server my problem is that I have to rebuild each…
Title: SSL Evaluation Fails on iPhone for React Native Expo App Body: I am developing a React Native Expo app that needs to configure a device with local WiFi without internet connection. The app works fine on Android by original…
I have a handler for a form submit that takes a user image, sends it to the back, does stuff on that image, and gives the modified image back (as a base64) to the front to be displayed. Sending and…
I'm trying to fetch data and then get my React App to map through the data to render each product on the page. However it fails to find the data to perform the .map() and I assume that's because the…
I am new with typescript and developing and was wondering if you could help me. I have a simple piece of code to fetch data from a website which "works" the only problem is to get the actual data under…
I am developing something that will run a test. One part of the test is done by going to php via ajax and back again to get some things from the server. The other is to fetch things from an…
import { useCallback, useEffect, useState } from "react"; const [isLoading, setIsLoading] = useState(false); const [videos, setVideos] = useState([]); const [nextToken, setNextToken] = useState(null); useEffect(() => { getVideos(); }, []); const getVideos = async () => { try { const url…
The condition is calling before fetch, so I can't render the image on the page. I need to set an icon based on the API data. Call an API for weather data, then set it to weatherData state Set the…
Can someone help me translate these axios requests into fetch requests? I am having trouble transfering the token in axios. I think it would work in fetch but I am having trouble rewriting the request. import React, { useState, useEffect,useContext…