Skip to main content

Questions tagged [axios]

Axios is a Promise-based HTTP client for JavaScript which can be used in your front-end application and in your Node.js backend.

axios
0 votes
1 answer
14 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 ...
Mac Pickle's user avatar
0 votes
1 answer
15 views

How to configure axios to use SSL certificate with an umbrella proxy pac?

We're trying to use axios to contact some APÏ using a proxy pac umbrella. We're using the conf we've seen around here but have the same error as this topic : How to configure axios to use SSL ...
Zonderziel's user avatar
1 vote
0 answers
13 views

axios error when connecting to the server and post error

I'm setting up a social network as a fullstack training project, I made the frontend, connected it to the database and made the feed, when I clicked "send", the comment I placed to appear in ...
Breno Dias's user avatar
0 votes
0 answers
17 views

Api is not responsding in react native cli but working on postman

it is taking forever to validate the token, but the api seems to work very well in postman and also in ios emulator, the problem is occuring only in my android device. my axios response Starting ...
Dhiraj Borse's user avatar
0 votes
0 answers
15 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 ...
Samarth Gupta's user avatar
0 votes
0 answers
32 views

Getting error as undefined in catch block under axios only for 500 series error [closed]

For API call I have implemented axios it's working properly for the http status 200 and 400 series as expected but for the 500 series errors iam getting error as undefined in catch block. Note: need ...
nanthinidevi's user avatar
1 vote
3 answers
57 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 ...
i.rijad's user avatar
  • 46
1 vote
1 answer
23 views

Pdf is available in console but unable to see network tab

import { axiosInstances } from "./axiosInstanc" interface upladPdfPayload { name: string; pdf: File } export const uploadPdfApi = async (payload: upladPdfPayload) => { try { ...
Hemant kumar's user avatar
0 votes
0 answers
9 views

Digital Ocean Droplet & Docker Port-Mapping, Axios Default URL Issue

I am running four Docker containers on a digital ocean droplet. A react frontend, a django backend, a Postgres database, and pg_admin GUI. In my frontend, I'm using an axios default URL to syphon my ...
Jessica Kavanagh's user avatar
0 votes
0 answers
15 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, ...
kirupanantha aruran's user avatar
0 votes
0 answers
26 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 ...
Vasyl Bielokopytov's user avatar
0 votes
0 answers
15 views

Unserialize a Vue 3 Computed property

Is there a way to unserialize a computed property in Vue 3? I have the class below: export default class Task { id: undefined pn: null quantity: null operation: null unit: null ...
Christian D'Aquino's user avatar
0 votes
0 answers
26 views

Axios returns 400 with application/x-www-form-urlencoded

What is the correct way to send application/x-www-form-urlencoded with axios? I am following the documentation provided here: https://github.com/axios/axios?tab=readme-ov-file#using-applicationx-www-...
rahulthewall's user avatar
-1 votes
0 answers
34 views

Axios request interceptors not being updated on time

For my nextJS APP i am configuring the headers using axios interceptors: import axios, { AxiosInstance, AxiosResponse } from "axios"; const httpClient: AxiosInstance = axios.create(); ...
Philippe Ducasse's user avatar
-1 votes
2 answers
35 views

Postman: Status 404 [closed]

I am looking to send a confirmation email after a customer fills out a form to book an appointment. I was recommended to use 'resend'. I developed a React extension where the form is located, and I am ...
ShailaHussein's user avatar

15 30 50 per page
1
2 3 4 5
1648