All Questions
10,917
questions
0
votes
0
answers
25
views
Link from react-router-dom is not redirecting
Since the button is within a <Link /> Component it shoul redirect to the '/home' page but it is not, its not redirecting anywhere. the function PostLogin is being Called i have confirmed
<...
0
votes
0
answers
7
views
Axios Post Still Blocked Even Though "Access-Control-Allow-Origin", "*" Set On server
In my backend I've set the following endpoint
router.post("/sign-in", async (req, res) => {
try {
//Extracting email and password from the req.body object
const { email, ...
0
votes
1
answer
38
views
Getting 404 AxiosError: Request failed with status code 404
Could you please help me to solve the problem with the routes.
In result I have the next code:
// server/index.js
// server/index.js
const express = require('express');
const bodyParser = require('...
0
votes
0
answers
22
views
Axios 404 error while trying to delete note ASP, Axios
I'm a beginner as an ASP.NET and React dev and I'm trying to create a CRUD project. I'm stuck at the DELETE request. I'm getting 404 error when I'm trying to delete note.
But in Swagger, everything ...
1
vote
0
answers
31
views
Post form data inside an array of objects
Hello I've been working in a blog to post blogs, you can add images too
For add image system i use Multer and Path.
To save the image, I save it in a FormData, with its key, so Multer can read the ...
0
votes
0
answers
10
views
Chunks with Dynamically Imported Components code Served Over HTTP Instead of HTTPS in Next.js App
We recently updated the packages in our turborepo, which includes a Node app and a Next.js app. After deploying, we noticed that some chunks are being served via HTTP instead of HTTPS, causing mixed ...
0
votes
0
answers
20
views
React (using UmiJS)/Flask Image Upload and Delete Logic Not Working as Expected
I'm working on a web application using React with Ant Design for the frontend and Flask for the backend. I'm facing an issue with the logic related to uploading and deleting images for room entities. ...
0
votes
0
answers
12
views
React-TS and drupal Login-cookie request
I have a Drupal website. There is a list of entries on the site. It is required to have a Drupal site and a separate React-TS site that manipulates entities on the Drupal site. The site and site ...
0
votes
0
answers
25
views
Failed to send request: [AxiosError: Network Error] on expo android only. Working on web
const sendRequest = async () => {
try {
setIsLoading(true);
const formData = new FormData();
formData.append("description", description);
formData.append(&...
-1
votes
2
answers
26
views
Passport JS + React application internal 500 errro
I am creating a general chat application with react, and am stuck while trying to authenticate a user. The axios post request raises a 500 error that I cannot track anywhere. When I put in correct ...
0
votes
0
answers
19
views
Bad request error at server side when i receive a json object
I am just making a simple axios post request to server. But I cannot understand why am I getting a bad request error. I send the data in json and i expect the data in json. But I am still getting a ...
1
vote
3
answers
69
views
I made Laravel CRUD api and I can't upload an image
for several days I have problem uploading an image with Laravel api. I was sending request via React's modified axios. Code is as follows.
axios-client.js
import axios from "axios";
const ...
0
votes
0
answers
17
views
How to handle YouTube Data API v3 Error 429, Too many Requests (Resource has been exhausted)
I'm trying to create a playlist on YouTube using the YouTube Data API v3 in my React application. However, I'm encountering a 429 error indicating that my resource has been exhausted. To handle this, ...
1
vote
0
answers
30
views
How to build an isomorphic API client with dynamic headers in next js?
I have a next js application with a separate API. All API endpoints require a specific X-HOST request header. I want to prefetch requests on the server side and sometimes invalidate them on the client ...
0
votes
0
answers
14
views
microfrontends intercept http request
What are the ways to intercept http requests in microfrontends?
For example: There is a Host application and Remote1 application, interceptors axios.interceptor.request.use are configured in the Host, ...