Building RESTful API With DRF(Django Rest Framework)

Ahmad Anondo
Nov 18, 2018 · 6 min read

What is REST API?

Endpoints

Resources

Collections & Elements

DRF

Installing

pip install djangorestframework

Time to REST

{
“message”: “My first api”
}
postman response

Serializer

postman post request & response
postman get request & response

Conclusion

Ahmad Anondo

Written by

Programmer , lazy inventor, to be open source guy, foodie , football fan , not evil!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade