Python Forum
Integrating vue.js with Django framework - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: Integrating vue.js with Django framework (/thread-37597.html)



Integrating vue.js with Django framework - saisankalpj - Jun-29-2022

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