Skip to main content

All Questions

Tagged with
0 votes
1 answer
46 views

In Vue, my node server.js works and connects with the table but axio doesn't

I'm following this tutorial Vue, Node JS, Express, MySQL Crud and this one Vue 3 Crud. I'm trying to connect to my 'event' table, and this is my server.js file const bodyParser = require("body-...
Aun's user avatar
  • 11
0 votes
2 answers
190 views

Vue Cannot read properties of undefined (reading '0')

Attempting to dynamically render weather information from an API. API request is returning data that I can display in the log and on the page. However, when I attempt to display individual items in my ...
Rhys Swansbra's user avatar
0 votes
1 answer
27 views

API response not rendering in page: weather is not defined at Proxy.created

I am using AXIOS to get weather data from an API and dynamically display that in my Vue page. The API request gets successfully and I can render that on the page but when I try to use v-for to display ...
Rhys Swansbra's user avatar
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
0 votes
2 answers
86 views

todo delete/put request not working when create new task

I'm learning back end development and need some help in mongodb, axios my project is a simple todo app which stores the created tasks in a mongoDB database. link of repository is here My problem is ...
Hany Taha's user avatar
-3 votes
1 answer
291 views

why localhost with axios is not working on vue.js to nodejs in AWS? [duplicate]

sorry for my english. I'm trying to deploy my vue.js website on an AWS instance. I use axios to consume my nodejs APIs, but I have a problem. When accessing the browser with the public address, in ...
nearzlee's user avatar
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
0 answers
284 views

Nuxtjs axios issue in SSR mode

In my Nuxtjs application, I am facing issue "Cannot set headers after they are sent to the client" when API request is made using axios. I am using axios from nuxt: @nuxtjs/axios. The issue ...
Kashyap Kansara's user avatar
6 votes
1 answer
9k views

how get response in axios when api is steam like SSE (Server-Send Events)

Environment: web browser, javascript. I want to use post method to call sse api (Server-Send Events) like https://platform.openai.com/docs/api-reference/completions/create curl https://api.openai.com/...
zy_sun's user avatar
  • 453
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
-2 votes
1 answer
115 views

I can't send request to api

I have Nuxt JS project. I can't make a request to the Node js project I run on localhost. It gives Cors error in Network section. I can send requests with Postman, but not from the project. I added ...
Hanifi Çorak'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
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

15 30 50 per page
1
2 3 4 5
15