Python Forum

Full Version: Integrating vue.js with Django framework
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am working on a Django project in the backend side. The front end is written in Vue.js. Now,we need to integrate frontend(vue.js) with the backend(Django).I have worked on Django restframework and developed a REST Api which accepts POST requests.Right now when i hit this url "http://127.0.0.1:8000/postdata/",i am able to pass data (like date,time,file path location ,email) and send it to my code .But the requirement is this data (like date,time,file path location ,email) need to be passed from frontend to backend in json format. Please educate me on the process need to be followed to integrate frontend with backend for the data transfer to take place to my backend code