Category "axios"

GET json api data in datatable with axios and vuejs

I have a datatable and I want to pass the data according to the api that returns a json using findAll() from the sequelize.. But in console.log when I call the

How to receive re-requested data when data requested by mounted() is re-requested by aixos interceptor

the code below is the first request for get list data mounted() { this.getList() }, methods: { handleClick(row) { console.lo

How to access Axios error response object in catch clause?

I recently upgraded to axios 0.23.0 and I am now receiving an error when trying to access the error response object in a catch clause. This is where I am gettin

how to prevent getting multiple responses in Axios react native?

I want to get data from database. the function CurrentUserId get the details of the current user. i need to get data using GetTemplate function the problem is t

Cannot post multiple and long requst Axios

I need to send post request to Another API, which will return result about 7 seconds. If I try to send post one by one, it's working great. But as soon as I loo

How to make a Post Request with XML using Axios?

I have a Network error with Axios, using the following code : const getXMLNS = (number) => { return ( '<soapen

ReactJS / Axios / Django: Update form with the current image from API

I'm trying to create an update form in React, the update works fine as I have set the default values that coming from (get method) using axios and set them as t

Django and Axios Forbidden (CSRF token missing or incorrect.)

I am having issue with my django server when trying to connect it to axios. It should be a simple fix but I am stuck! I am getting this error from my django ser

flask jwt extended with status code 401 in React frontend

I am using Flask-JWT-Extended, and Flask CORS with React to make a web app. According to the documents of Flask-JWT-Extended which provide the "Protected" rout

Access data already fetched with react query in other component

I'm new with React Query, and I have a question, I've being looking on the documentation but I can't find how should I access the data that is already fetched w

Error: Request failed with status code 500 but it works after I refresh the page

When I run my Next.Js/MongoDB Project for the first time it always greets me with a "Error: Request failed with status code 500", but after I refresh the page i

How do I get html response from axios?

I want to run some html parsing on a page.I want to know if I can get the whole html page source code as a response. I think I will be using node-html-parser np

Uploading multiple content to Cloudinary React js

I'm building this website where users can sometimes upload one audio or one image and sometimes both at the same time to cloudinary. I'm able to upload from the

nuxt-mail fails with a 504 with nginx reverse proxy

I configured nuxt-mail to send emails from our nuxt app. The baseURL of my app is changed to "https://localhost:3000/app" instead of "https://localhost:3000" So

Can the vimeo api be accessed through pure javascript?

I'm trying to build a video conglomerator using several different video hosting sites. I'm able to get videos from youtube and dailymotion with simple axios ca

Axios API request from React Native frontend to local spring backend service not working

I develop a React Native mobile app and for the backend I want to use Java Spring. Now I have a standalone backend server running locally on port 8080 and my re

Nodejs Axios Error: Hostname/IP doesn't match certificate's altnames: "Host: (URL). is not in the cert's altnames: DNS:*.sa-east-1.es.amazonaws.com"

I'm trying to request an API from a third party server from a shared hosting server, so i don't have root access, and receive this error, but when i try it from

Express or Axios Error: socket hang up code: ECONNRESET

This is the first time i post a question here, sorry if some data is missing. I'm trying to do some web scraping to get some info of a table. The page only resp

React Axios Post Requests Being Blocked After Initially Succeeding

I have a React app that has a contact form that submits data to a third party such as Formspark.io, Formspree.io, or FormSubmit.co who basically collect the for

React: Uncaught (in promise) Error: Request failed with status code 400

I'm sending a uid a token and two form inputs from formik to my django rest api for a password reset. When i do so i receive a 400 error with a response that i'