Skip to main content

All Questions

Tagged with
0 votes
0 answers
28 views

How to modify/complete url on execute in useAxios from vueuse? Or: How to delete item using useAxios?

I'm building a Vue application which makes requests to an REST-API. I want to use "useAxios" from vueuse to make theese requests like below: const {data: todosList, isLoading, error, execute}...
Jakob's user avatar
  • 170
0 votes
0 answers
81 views

vue axios.post method is neither doing anything nor throwing an error

I have a vue frontend with a flask backend and in addition a c++ camera backend. All of this has been working before. Now I switched to another computer and I´m using a different camera backend and ...
Hi_its_me's user avatar
  • 245
0 votes
1 answer
35 views

How to use axios to get a file stored in s3

I have a function I was trying to develop to return a file from s3 but it does not actually return a working file that could open in the browser: export async function urlToFile (url : string, ...
Qiuzman's user avatar
  • 1,779
0 votes
1 answer
59 views

cors allow origin not matching origin

I have Single Page Application with vuejs framework and I want to an excel file from server but I get "cors allow origin not matching origin". in postman I have no problem and I can download ...
Soheil Ghasemian's user avatar
0 votes
0 answers
33 views

How can I avoid SSL certificate validation while using axios from Vue js application? [duplicate]

I am running spring boot and vue js combination for a web application. My spring boot app is hosted at https://127.0.0.1:8000 with self-signed SSL certificate. Vue js app (which is hosted on tomcat ...
Md. Saiful Islam's user avatar
0 votes
1 answer
77 views

How to make a HTTP call from a Vue.js app that includes a list of files to upload

I need to call a Spring controller that has a @RequestPart parameter of type List<MultipartFile> and expects a list of files. The front end application is written in Vue.js and so far I have ...
John Garez's user avatar
0 votes
0 answers
99 views

axios error.response is undefined when CloudFlare turnstile returns 403

I have implemented CloudFlare turnstile so that when a certain API is called a 403 response is returned with an additional response header of cf-mitigated: challenge. I'm using axios to catch and ...
PyKKe's user avatar
  • 405
0 votes
1 answer
66 views

OPTIONS Request made to domain root (/) on ddev nginx throws a 405 - We see access.log but the request is not forwarded to index.php

Edit Corrected a couple of assumptions with more testing (and altered title to reflect). The issue seems to be specific to the nginx config on DDev, with the server not correctly passing "OPTIONS ...
tobynew's user avatar
  • 347
0 votes
0 answers
18 views

axios uses vue_publicpath infront of requests [duplicate]

I have a vuejs application, which is mounted to my fastapi server on the /dist path, so I accordingly set the publicPath: '/dist/' in vue config. I added axios.defaults.baseURL = process.env.BASE_URL;...
crazywolf's user avatar
0 votes
0 answers
20 views

vform not sending bearer token

I'm using a custom axios plugin in my Vue 3 Laravel 11 project. In that plugin I have: import axios from 'axios'; const axiosInstance = axios.create({ }); // Request interceptor to add the token ...
Eric's user avatar
  • 1,261
0 votes
1 answer
107 views

How can I take advantage of useAxios composable when I don't know in advance which data to pass to it?

I'm trying to create a TS service by leveraging composables and by using DummyJSON as BE. This is what I did, step by step. Set axios base URL // src/axios/index.ts import axios from 'axios' axios....
PyKKe's user avatar
  • 405
-1 votes
1 answer
50 views

JWT Authentication Issue: Postman Works, Axios Fails in VueJS Project [duplicate]

I have a bit of trouble with authentication-request in my VueJS project using Axios. What works When I send a POST request to https://xyz.blabla/api/authenticate using Postman with the following body: ...
Nima M.'s user avatar
2 votes
1 answer
274 views

Spring Security 6.2.1 + Vue.js 3 (axios) : Invalid CSRF Token in POST request (code 403)

I'm creating a Single Page application with Spring and Vue, but I cannot get the anti-csrf protection to work. I followed what this topic suggests but the CSRF token isn't found with any name (_csrf, ...
Romb38's user avatar
  • 39
0 votes
1 answer
46 views

GET request are working but certain POST request resulting in net::ERR_CONNECTION_RESET

I have a strange error that is coming out of no where in my mind for myself in dev and production and also my users in production once deployed. I have a network error response which is new to me. My ...
Qiuzman's user avatar
  • 1,779
0 votes
0 answers
24 views

Random Network Error in Axiom+vue+laravel

So, I have a Laravel + Vue 3 app, that uses Axiom to send requests to get data from external API service. Sometimes i get complains from clients, that they get an error, and most of the time it's &...
DiNikSon's user avatar

15 30 50 per page
1
2 3 4 5
286