Python Forum
Integrating vue.js with Django framework
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Integrating vue.js with Django framework
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Extend a serializer in Django Rest-Framework Dexty 0 1,734 Aug-10-2022, 02:53 PM
Last Post: Dexty
  Django: How to automatically substitute a variable in the admin page at Django 1.11? m0ntecr1st0 3 3,339 Jun-30-2019, 12:21 AM
Last Post: scidam
  Django Rest Framework URL issue marcus 0 2,511 Feb-07-2018, 10:31 PM
Last Post: marcus
  django rest framework - custom routes SparrowhawkMMU 2 6,235 Jan-11-2018, 05:34 PM
Last Post: mariovalentino69

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020