Skip to main content

All Questions

Tagged with
2 votes
1 answer
28 views

Error can not use POST method for Vue project

Why I can't use post method, error post not found (404)? I connected successful to database, I defined route endpoint POST in server.js and defined axios.post in Signup.vue but return post not found (...
user24103832's user avatar
-1 votes
2 answers
170 views

CORS and routing issue, backend fails to serve API to itself (Node/Express)

Summary: I have a web app with two main components: a frontend built using Vue.js, and a backend using Express.js. The backend serves two functions: It acts as an API server for data requests and ...
Jay's user avatar
  • 3
1 vote
1 answer
206 views

How do I fix Axios Baseurl bug for Node.js app

I made a program for a device. We used vue on the front end and express on the back end. And we use axios to fetch API When I localize the baseurl related to axios, I can't connect to the site through ...
Mr Swift's user avatar
0 votes
0 answers
58 views

VueJS client cannot communicate with NodeJs/Express backend

I created a TodoList application to learn how to use NodeJS/Express/MongoDB/VueJS together. (I followed this tutorial : https://signoz.io/blog/mevn-stack-tutorial/) I use Axios as HTTP Client. My ...
tlelubre's user avatar
0 votes
1 answer
190 views

Continuous polling to backend is stalling (vuejs)

I have a Vue component that conditionally renders other components depending on the GET response. When boiled down it looks something like: data() { return { responseStatus: null, // Variable ...
Ryan's user avatar
  • 119
0 votes
1 answer
208 views

Fetching data from MongoDB in Vue (MEVN Stack)

I'm building a full-stack Web Application and I encounter a few annoying errors. My Code to fetch Data in the .vue File looks like this: <script> import { createHydrationRenderer } from 'vue' ...
WoodPecker's user avatar
0 votes
1 answer
3k views

"message": "Network Error", "name": "AxiosError",

I have used a full project with concurrent using vuejs and calling an api request using axios post request my request is axios({ method: "POST", url: http://abcd.com:5000/start-recording?...
Mohammed Himaz's user avatar
0 votes
0 answers
625 views

Browser won't set HTTP-only cookie AXIOS response?

Client axios.defaults.headers.common['Content-type'] = "application/json" axios.defaults.baseURL = 'http://localhost:5000' axios.defaults.withCredentials = true; const resp = await axios....
V S Vuca's user avatar
0 votes
1 answer
100 views

Cannot call api route from client app loaded by distant browser

I have a server where there is an api running on port 8081 and a client Vue app running on 8082. My client app using Axios to make queries to the api using the following code. const api = axios.create(...
Nibor Foo's user avatar
3 votes
1 answer
2k views

How do you use devServer.proxy in Vue?

I'm currently trying to proxy my requests from my Vue app so I can send cookies back from the server that exists separate from my frontend. I have my frontend on port 8080 and server on port 3000. ...
Jeremy Kung's user avatar
0 votes
0 answers
454 views

Not sure why my frontend and backend aren't connecting; is it an API issue? Help pls

The issue is that the connection doesn't seem to be going through. The error log doesn't show anything: there's no sign data is being sent to the database. E.g. when I log in, or sign up, I can see ...
user avatar
1 vote
0 answers
58 views

I created an authentication api with express, what is the best way of consuming the api with Vuejs

I have an authentication api with nodejs and express fully working with ejs template. But I’d like to know how to use vuejs for the frontend instead of ejs I already built the ui with Vuejs, then I ...
Raji Muhammad's user avatar
-1 votes
2 answers
375 views

Javascript object is devoid of property after axios post request

I am making a web app with VueJS that makes axios calls to a NodeJS API that uses express. I'm currently trying to send files to my NodeJS so it can save them. However, even though my browser displays ...
Lenskha's user avatar
1 vote
0 answers
26 views

vue js express js image not working in production

i have site work fine but when i build vue the images disappear and show this me message :- We're sorry but client doesn't work properly without JavaScript enabled. Please enable it to continue. I ...
ibrahem's user avatar
  • 11
1 vote
2 answers
847 views

axios get request to express server is only successful for the first time

I'm trying to setup a route for downlading videos for my Vue app backed by an Express server. For some reason, first request that is sent to backend is working as expected and it results in successful ...
ege's user avatar
  • 930

15 30 50 per page
1
2 3 4 5
8