<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>rest api on Kuldeep Pisda</title><link>https://kdpisda.in/tag/rest-api/</link><description>Recent content in rest api on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 08 Dec 2025 13:06:43 +0530</lastBuildDate><atom:link href="https://kdpisda.in/tag/rest-api/index.xml" rel="self" type="application/rss+xml"/><item><title>10 Pragmatic Best Practices for REST API Design That Actually Work</title><link>https://kdpisda.in/10-pragmatic-best-practices-for-rest-api-design-that-actually-work/</link><pubDate>Mon, 08 Dec 2025 13:06:43 +0530</pubDate><guid>https://kdpisda.in/10-pragmatic-best-practices-for-rest-api-design-that-actually-work/</guid><description>&lt;p&gt;I remember the first production API I shipped. It felt like a triumph. Then the first wave of real traffic hit, and the celebration turned into a frantic scramble through logs, chasing a cascade of confusing &lt;code&gt;500&lt;/code&gt; errors. We&amp;rsquo;d built something functional, but we hadn&amp;rsquo;t built it thoughtfully. It&amp;rsquo;s a journey many of us take. A well designed API is the bedrock of a scalable application, but getting it right involves so much more than just exposing database tables over HTTP. It&amp;rsquo;s about crafting a clear, resilient, and intuitive contract between services that developers, real humans like you and me, can actually enjoy using.&lt;/p&gt;</description></item><item><title>How to make REST APIs in Django using Django-rest-framework?</title><link>https://kdpisda.in/how-to-make-rest-apis-in-django-using-django-rest-framework/</link><pubDate>Fri, 20 Jan 2023 08:58:07 +0530</pubDate><guid>https://kdpisda.in/how-to-make-rest-apis-in-django-using-django-rest-framework/</guid><description>&lt;h2 id="table-of-contents"&gt;Table of Contents&lt;a class="heading-anchor" href="#table-of-contents" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="#introduction"&gt;Introduction&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#prerequisites"&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#what-is-django-rest-framework"&gt;What is Django REST Framework?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#understanding-rest-api-principles"&gt;Understanding REST API Principles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#setting-up-your-development-environment"&gt;Setting Up Your Development Environment&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#creating-your-django-project"&gt;Creating Your Django Project&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#building-your-first-rest-api"&gt;Building Your First REST API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#implementing-authentication"&gt;Implementing Authentication&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#adding-custom-permissions"&gt;Adding Custom Permissions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#testing-your-api"&gt;Testing Your API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#project-structure"&gt;Project Structure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;a class="heading-anchor" href="#introduction" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Building REST APIs with Django has never been easier thanks to Django REST Framework (DRF). This comprehensive tutorial will guide you through creating a complete RESTful API for a to-do list application from scratch.&lt;/p&gt;</description></item><item><title>Announcing Kuldeep Pisda's DjangoCon US 2022 Tutorial: Mastering Django REST APIs and Admin Panel Customization</title><link>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/</link><pubDate>Tue, 16 Aug 2022 00:00:00 +0530</pubDate><guid>https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/</guid><description>&lt;p&gt;I&amp;rsquo;m excited to announce that I&amp;rsquo;ll be leading a comprehensive tutorial at DjangoCon US 2022 titled &lt;strong&gt;&amp;ldquo;Using Django for Serving REST APIs with Permission Control and Customizing the Default Admin Panel.&amp;rdquo;&lt;/strong&gt; This session is scheduled for &lt;strong&gt;Sunday, October 16, from 1:30 PM to 5:00 PM PDT 2022&lt;/strong&gt;.&lt;/p&gt;
&lt;figure class="kg-card kg-bookmark-card"&gt;
 &lt;a class="kg-bookmark-container" href="https://2022.djangocon.us/tutorials/using-django-for-serving-rest-apis-with/?ref=kdpisda.in"&gt;
 &lt;div class="kg-bookmark-content"&gt;
 &lt;div class="kg-bookmark-title"&gt;Using Django for serving REST APIs with permission control and customizing the default admin panel&lt;/div&gt;
 &lt;div class="kg-bookmark-description"&gt;In the session, we will see how we can use Django to serve APIs. Create REST Endpoints quickly with DRF. Implement proper permissions on the REST endpoints, for example, an admin can perform any operation on any data. But a specific user can perform a limited operation on certain specific resources. Respond with different responses as per the defined user’s permission level. For example, the admin will get all the fields in the response, but a normal user will get only a selected field of the model. Implement Pagination on the REST endpoint. Create custom endpoints on the REST Endpoints.&lt;/div&gt;
 &lt;div class="kg-bookmark-metadata"&gt;
 &lt;img class="kg-bookmark-icon" src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/link-icon.svg" alt="" loading="lazy"&gt;
 &lt;span class="kg-bookmark-author"&gt;DjangoCon US&lt;/span&gt;
 &lt;span class="kg-bookmark-publisher"&gt;DjangoCon US&lt;/span&gt;
 &lt;/div&gt;
 &lt;/div&gt;
 &lt;div class="kg-bookmark-thumbnail"&gt;&lt;img src="https://kdpisda.in/announcing-kuldeep-pisdas-djangocon-us-2022-tutorial-mastering-django-rest-apis-and-admin-panel-customization/image.jpg" alt="" loading="lazy"&gt;&lt;/div&gt;
 &lt;/a&gt;
&lt;/figure&gt;

&lt;h2 id="session-overview"&gt;Session Overview&lt;a class="heading-anchor" href="#session-overview" aria-hidden="true" tabindex="-1"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;In today&amp;rsquo;s rapidly evolving digital landscape, the ability to develop robust and secure APIs is paramount. Equally important is the capacity to manage and customize administrative interfaces to suit specific project requirements. This tutorial is meticulously designed to address both aspects, providing participants with hands-on experience in:&lt;/p&gt;</description></item></channel></rss>