2020欧洲杯手机版注册

A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [axios]

Axios is an npm library for http requests from both browser and server.

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

get no data from Axios & curl call to specific site

i try to get data form enter link description here < this site.i've got nothing when i made axios call to that site.Thus i've done curl -I url to get the status. ( return 200)( curled -K -X and ...
0
votes
0answers
20 views

How to get the image response from a Flask api server and then display it in a react application

The data field of the response gives the image file.The python file in flask server has the following response code:flask.send_file(loc_dir+res+".png", attachment_filename=res+".png", ...
-1
votes
1answer
19 views

Nodejs backend how get rid of html tags

I have API that GET json data with axios from another site. Site require login but i get this data with token. It looks like this: "orders": [ { "type": "some data", "id": some data,...
0
votes
0answers
10 views

Axios Error: Request failed with status code 400

Anyone can help, please i am still learning React+Axios and stuck with request failed 400. I did change axios post 'users/login' with 'http://localhost:3000/users/login' but it doesn't solve. I ...
0
votes
3answers
39 views

How to display list in functional component in react, listing data is fetching with axios

I am trying to list data which is coming from external site through axios. My code is import React, { useEffect } from "react";import axios from "axios";export default function Listing() { ...
0
votes
0answers
9 views

Ajax request from public subnet node app to private subnet WordPress api

My current setup is comprised of 3 EC2 instances – a NAT instance(public subnet), an Ubuntu node app(public subnet), and Wordpress(private subnet).I'm able to connect to the private Wordpress ...
0
votes
1answer
11 views

React Axios useEffect hook, different types of errors when rendering to the user interface

I am pretty new to full stack, and im using MERN, so forgive me if this is an easy/silly fix (though I looked at several and different types of sources, with no luck thus fur). I can not seem to ...
0
votes
0answers
46 views

Node.JS: Simple GET with axios module throwing “Error: Max redirects exceeded”

Was trying to understand the basics of Web Scraping & was successful doing it with Python. When trying to emulate the same with Node getting following error :UnhandledPromiseRejectionWarning: ...
0
votes
1answer
23 views

What causes error 400 in axios post request?

I am writing a cli in oclif that consumes data from a rest api written in node.js . I am trying to perform a post request that sends username and password, receives a token from the api and verifies ...
-1
votes
0answers
17 views

NodeJS - send login error to Frontend using express/axios

I'm trying to create a login form using Vue, Axios, Express, NodeJS and MongoDB.Right now the form works when the user posts the correct credentials, but I struggle sending an error, when the ...
0
votes
0answers
9 views

How does one handle x-amzn-remapped-authorization when consuming APIs on frontend?

While using Laravel Vapor, I encountered my first taste of server-less, in form of a caveat. The authorization header which the API serves to allow the frontend to authenticated is being remapped as x-...
0
votes
0answers
18 views

How to add an array of objects in a form data to do a POST request in js?

i have a problem in adding an array of objects in a form data to do a POST request in Javascript. I have an API that will accept this format (an arrays of objects):[ { 'var1': 'value', '...
0
votes
0answers
9 views

sending data to an axios http request from function parameter

let name = "myname"function updateTodo(name) { axios .put('http://jsonplaceholder.typicode.com/todos/1',{ title: name, completed:true }) .then(res=>showOutput(res))...
0
votes
0answers
14 views

Allow all SSL certificates in VUE + AXIOS

I have a vue + vuetify PWA web app and I want to make an insecure https request, with vue-axios.I have tried what i found:const instance = axios.create({ httpsAgent: new https.Agent({ ...
0
votes
0answers
22 views

Error: self signed certificate in NodeJS HTTPS Request

I'm fairly new to NodeJS and I'm trying to implement HTTPS request from NodeJS (backend) directly to a middleware api hosted in IISNode with a GoDaddy certificate. I have another repo for my view (...

15 30 50 per page