All Questions
67 questions
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 &...
0
votes
2
answers
40
views
AXIOS put request doesn't hand JSON parameters to endpoint [duplicate]
I'm currently programming in VUE.
This is a endpoint I made with fastAPI to add a location
In order to add locatons from my component, I created a function in my VUE component called fetchNewLocation:...
0
votes
0
answers
114
views
Inconsistent Cookie Behavior with Axios withCredentials in Vue.js
I'm working on a Vue.js frontend and have encountered an odd behavior regarding cookie transmission using Axios. I've set up a custom Axios instance with default configurations and an interceptor to ...
0
votes
0
answers
429
views
VueJS : "Module not found: Error: Can't resolve 'http' with webpack < 5 used to include polyfills"
I am developing a VueJS application. The version is @vue/cli 5.0.8, and my NodeJS version is v18.15.0.
I am using an old code from a friend that uses axios to call an API. The configuration of the ...
1
vote
1
answer
450
views
VueJS and Axios: Component loading state is not being updated when I Abort Axios network request?
I have a dashboard dates-filters dropdown, each time the dropdown value get changed by the user I send multiple network requests using Axios.
To prevent Sub-sequent API calls when the user changes the ...
0
votes
1
answer
243
views
Vue.js multiple update
I want to update multiple rows using the checkbox, in vue.js, with axios. Everything is okay, but it's not worked.
When I click the checkbox and click the button, opens a card. When i input "...
0
votes
1
answer
383
views
The request URL is too long return Error 414
I am using vuejs and making an axios request to server to download a csv.
download() {
var that = this
//this.records = [{id: 1, name: 'Jack'}, {id: 2, name: 'Jacky'}, {id: 3, name: '...
1
vote
1
answer
666
views
Django REST API: How to respond to POST request?
I want send POST request with axios(VueJS) and when Django server got a POST request then I want to get back that request message.
I tried make functions when got an POST request in Django server and ...
0
votes
0
answers
457
views
How can I use Axios to access the JSON data within a response sent using Expressjs?
I'm creating a web application that generates a pdf on a server then sends it to the client for display within the browser.
The client is using Vuejs / Axios to send a POST request. Afterwards, The ...
2
votes
0
answers
1k
views
How to avoid timeout (net::ERR_HTTP2_PING_FAILED 8mins) when uploading files with axios post method?
I'm doing some big file (10GB+) uploading so what I did is slicing the file to some 3MB chunks and then upload them. It works fine until I got a really bad network scenario (cannot finished uploading ...
0
votes
1
answer
1k
views
Get and render image from API in (Vue)JS?
I have a website running VueJS at localhost:3000 which does some stuff to call this.nextImage().
methods:
// content //
async nextImage() {
console.log("In nextImage from App.vue"); // ...
-1
votes
1
answer
1k
views
Retrieving http response headers information from any website
I'm using Vue CLI and axios.
I have a searchbar where the user can input (potentially) any website and read info about the HTTP request and response.
Some of the information I need to get are: HTTP ...
0
votes
0
answers
33
views
How to Send a post HTTP request to Back office
I'm using a Vue form to send data to a link and retrieve it from back.
The Problem is that the request fails to send data , showing POST http://localhost:8080/ 404 (Not Found), and i'm trying to ...
0
votes
2
answers
595
views
How to debug unwanted 302 redirect from Ajax request?
I'm trying to get data from a database through this ajax request:
axios.get('/about-info')
web.php:
Route::get('/about-info', [CMSController::class, 'aboutInfo']);
CMSController.php:
public function ...
0
votes
0
answers
74
views
Ajax request does not resolve in correct url
I am trying to get data from this url:
axios.get('/join-us-donate')
It SHOULD be sent through web.php:
Route::get('/join-us-donate', [CMSController::class, 'joinUsDonate']);
and run this function ...