Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged axios
0
votes
1.5k
views
1
answer
axios - GitHub API get request is automatically sending x-auth-token
I have a react app with custom user-auth built using json web token. When the user is authenticated during ... /github-api-get-request-is-automatically-sending-x-auth-token...
asked
Oct 7, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios - Vue.js pass $store data from different modules
Hi I need to understand how to "pass" some $store values from settings module to header module, being the ... com/questions/65855065/vue-js-pass-store-data-from-different-modules...
asked
Oct 7, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.7k
views
1
answer
axios - Proxy network requests via React Native
I am building a React Native app using Expo. The app sends some network requests via axios, i am ... /stackoverflow.com/questions/65909020/proxy-network-requests-via-react-native...
asked
Oct 7, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.7k
views
1
answer
axios - Spotify Web API - Issue Add items to playlist using Node.js
I am attempting to programmatically add Spotify tracks to a playlist, however, I am running into an issue. If I ... /spotify-web-api-issue-add-items-to-playlist-using-node-js...
asked
Oct 7, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios - how to do authentication using cookies in expo app
I am working on an expo app and the APIs for the app using session and cookies for authentication can anybody ... /66048668/how-to-do-authentication-using-cookies-in-expo-app...
asked
Oct 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.6k
views
1
answer
axios - Set headers based on url
I'm using Axios interceptors to set some data and headers in different requests: export default ({ $axios }) ... ://stackoverflow.com/questions/66054292/set-headers-based-on-url...
asked
Oct 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.5k
views
1
answer
axios - Set headers based on url
I'm using Axios interceptors to set some data and headers in different requests: export default ({ $axios }) ... ://stackoverflow.com/questions/66054292/set-headers-based-on-url...
asked
Oct 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.8k
views
1
answer
axios - How to set axiosconfig using typescript?
I am new in Typescript. I am converting my code from JavaScript to Typescript. My code below will ... stackoverflow.com/questions/66062849/how-to-set-axiosconfig-using-typescript...
asked
Oct 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios 返回错误信息问题
react项目使用axios作为ajax库 成功后可以正常拿到返回值对象 但是报400时不能拿到返回值对象 但是在network中是有信息的...
asked
Feb 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.3k
views
1
answer
axios post数据 php 无法获取
JS代码: var params = { username: 'admin', password: '123456' } axios.post('test.php', params).then(res => console.log(res. ... : $str = $_POST['username']; print_r($str); 浏览器打印出来的是...
asked
Feb 6, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.3k
views
1
answer
axios 获取本地json
vue获取本地json,一直404 文件位置 代码 Vue.prototype.$http = axios this.$http.get('/src/api/testJson.json').then(response => { console.log(response) }, response => { // error callback })...
asked
Feb 5, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
2.3k
views
1
answer
axios Cannot read property 'cancelToken' of undefined
在vue2.0中使用axios向后台请求数据 全局配置axios, /src/apis/index.js import axios from 'axios'; import qs from 'qs'; ... ) TypeError: Cannot read property 'cancelToken' of undefined,请问是什么原因呢?...
asked
Feb 5, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.6k
views
1
answer
axios 请求性能优化的思考
这里封装了一个 Axios 的请求类,提供了发送请求的 request 方法 每一个 API 接口使用其进行 ajax 请求用法如下: 这样写的意思是,每调用一次 API 都执行一遍 request 方法,也 ... 搜索了下,axios.create() 创建过个实例对象会需要额外的垃圾回收 https://stackoverflow.com/que......
asked
Jan 29, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.5k
views
1
answer
axios 请求,报跨域
正常请求,都OK,没毛病 有一个字段的长度是1000,我填满这个字段,发起请求,浏览器直接给我报了跨域 from origin 'http://localhost:8081' has been blocked ... -Origin' header is present on the requested resource. 在线等待,求高手告知问题原因 ...
asked
Jan 29, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.5k
views
1
answer
axios 请求,报跨域
正常请求,都OK,没毛病 有一个字段的长度是1000,我填满这个字段,发起请求,浏览器直接给我报了跨域 from origin 'http://localhost:8081' has been blocked ... -Origin' header is present on the requested resource. 在线等待,求高手告知问题原因 ...
asked
Jan 29, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.5k
views
1
answer
axios 请求体里,为什么没有参数
我写的有问题么?在线等 import axios from 'axios' axios({ method: 'get', url: "http://192.168.4.206:8858/purchase/listAll", // 测试 ... (res => { console.log(res.data) }).catch(error => { });...
asked
Jan 29, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.7k
views
1
answer
axios 在node端A 发请求到node端B, B在响应里设置了cookie。最后浏览器没收到cookie。怎么办?
axious 在node端A 发请求到B, B在响应里设置了cookie。 A收到响应后,组装数据返回给浏览器,但是浏览器没收到cookie。怎么办?...
asked
Jan 29, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.7k
views
1
answer
axios 拦截器处理统一错误类型
Vue + axios + elementUI 关于 axios 里面统一拦截错误信息,当出现类似 超时 的统一错误 如果当前页面的某个操作会引发多个并发接口,错误信息能否只展示一次? 如何写出优雅的解决方式...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios 的空格问题
这个url上有一个空格,通过axios请求不通过,会500错误, 但是走浏览器和工具都是可以的这是为什么...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.6k
views
1
answer
axios 怎么在Post请求中,同时传递文件和对象
addAppVersion(formdata: any, file: any) { const data = new FormData(); data.append('appfile', file); data.append('appVersion', JSON.stringify( ... ,能不能做到直接传递一个对象参数呢?或者用其他方式传递file?...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.5k
views
1
answer
axios post 出错。 POSTMAN 没问题
POSTMAN POST raw json没有问题 但是axios Post 返回403错误 !...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.3k
views
1
answer
axios post 出错。 POSTMAN 没问题
POSTMAN POST raw json没有问题 但是axios Post 返回403错误 !...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.8k
views
1
answer
axios post 请求 可以把formData通过params不用data传给后台吗?
var formData = new FormData(); formData.append("File", this.File1); this.axios({ url:'/user/test', method: 'post', params: {video: ... formData.get('File')的时候 是有完整的file对象的 没头脑了 求助...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios 请求头增加参数
后台要求我在请求头里面加入以下两个参数 headers:{ 'timestamp': time, 'sign': ('key' + time) } 报跨域: 'http://192.168.4.108:9001' has been blocked ... have HTTP ok status. 不加这两个参数接口调用正常 请问怎么解决这个问题,在线等待...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.4k
views
1
answer
axios 请求头增加参数
后台要求我在请求头里面加入以下两个参数 headers:{ 'timestamp': time, 'sign': ('key' + time) } 报跨域: 'http://192.168.4.108:9001' has been blocked ... have HTTP ok status. 不加这两个参数接口调用正常 请问怎么解决这个问题,在线等待...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
1.7k
views
1
answer
axios 请求中文页面返回乱码的问题
let axios = require('axios') let httpurl = "https://www.dytt8.net/index.htm" axios.get(httpurl,{responseType:"gb2312"}).then(function(res){ ... log(res) }) 请问该如何设置才能让返回的中文不是乱码呢?...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
2.0k
views
1
answer
axios 请求中文页面返回乱码的问题
let axios = require('axios') let httpurl = "https://www.dytt8.net/index.htm" axios.get(httpurl,{responseType:"gb2312"}).then(function(res){ ... log(res) }) 请问该如何设置才能让返回的中文不是乱码呢?...
asked
Jan 27, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
0
votes
3.8k
views
1
answer
axios post 请求超时的问题
在写一个前后端分离的项目,在使用axios做请求的时候,发现请求超时问题 我的后端使用Node实现,代码如下: const express = require('express') const app = express() var mongoose ... 度娘说是添加拦截器,但是按照方法添加后 post 依然无法运行到 console.log(3) 中...
asked
Jan 25, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
axios
To see more, click for the
full list of questions
or
popular tags
.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] go - Can you have multiple working directories with github actions?
[2] No instances available for xxxxxx
[3] c - Is assignment x=1; always an undefined behaviour according to C17?
[4] 用vue实现div选中效果
[5] hibernate - I get a stackOverflowError when trying to generate a very large PDF file in Java
[6] c# - Blob trigger re-running copy on publish
[7] C++ primer 5th edition: A bitset to represent a sequence of integers
[8] Postman发XML能拿到response但axios发xml一直报错
[9] r - cronR add_cron doesn't execute script at all Mac OS High Sierra
[10] vue created中发送请求并将请求到的数据渲染到dom
2.1m
questions
2.1m
answers
60
comments
57.0k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...