Рет қаралды 1,157
Welcome to my DRF course.
Module 3:
In the last module, we constructed wired up two new applications and added the necessary code to fire up DRF's user interface. Let's expand on this and create our first API endpoint.
Nice and simple... We want a contact us endpoint so a user can send their name, email and message to our backend.
We need:
a) a model to capture store the incoming data
b) a router/url called '/contact/'
c) a serializer to process the data coming from the user and send a response back again.
d) a view to encapsulates the common REST HTTP method calls
easy, right?
PROJECT LINKS:
github.com/bob...
www.python.org/
www.djangoproj...
www.django-res...
httpie.io/
curl.se/
www.docker.com/
ABOUT OUR CHANNEL
Our channel is about coding a development. We cover lots of cool stuff such as Django, React, JavaScript, AJAX, Coding on DLT's
Check out our channel here:
/ @didcoding
Don’t forget to subscribe!
CHECK OUT OUR OTHER VIDEOS
• Building and launching...
• Integrating API's with...
• Hedera Hashgraph Pytho...
FIND US AT
www.didcoding.com
GET IN TOUCH
Contact us on bobby@didcoding.com
FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
Twitter: / didcoding
Facebook: / didcoding
SUPPORT US
Patreon: / didcoding
HBAR wallet: 0.0.1053688
HIRE ME
Need help with a project? Hire me on a freelance basis?
Upwork: www.upwork.com...
DISCOUNTS
Visit our website to get some fantastic discounts
didcoding.com/...