Basics of a HTTP Request in a RESTful Architecture
Basics of a HTTP Request in a RESTful ArchitectureA simple introduction to how an http request looks like in a RESTful ArchitectureIf you are a full stack developer, or a front-end developer who develops client server interactions, it is highly important that you should know how a REST API works and what all components are there with it. In simple words, a RESTful API is a server API that is built using REST architecture. REST stands for Representative State Tranfer, it is an architecture on which such APIs can be built and exposed for consumption. Generally we expose such APIs over HTTP/S, where the requests are transmitted over the network via TCP/IP. A client builds a HTTP Request and sends to the RESTful API, which returns a HTTP Response. A simple HTTP Request contains the following parts - A HTTP Verb, that describes what type of operation it is - GET, POST etc URL of the API endpoint where you want to send the request. HTTP Request Headers which describe the metadata information about the request. For example, a ContentType header with value application/json indicates that the request body contains JSON data Finally the actual Request Body that has the content to be transmitted, or an empty body when there is nothing to send. On the server side, the endpoint that is listening for such requests, receives this request, understands what is to be done based on the Verb and the Headers and processes it followed by response. That's a simple introduction to the anatomy of a HTTP Request and the RESTful architecture. Share it with your friends if you find it useful, it helps me reaching more people. -------------------- Hello there 👋, I'm Sriram Kumar Mannava I'm a full-stack developer, and I can help you jumpstart into software engineering by sharing various useful concepts in a simple way, based on my experience 😁🔥 If you're interested, please do follow me and stay notified! #RESTfulAPI #HTTPRequest #FullStackDeveloper #ClientServerInteractions #WebDevelopment |
Older messages
What is AWS Cognito Identity Pool and How to use it?
Monday, June 24, 2024
In this article, let's discuss what are Cognito Identity Pools and How do we create one to help users access AWS resources using a CIP Token. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
How to Role based Authorization in ASP.NET Core
Monday, April 15, 2024
Let's see how we can authorize an API access based on an user role defined by the system or a user based on a claim based on the JWT token passed within the request. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
How to use SignalR with ASP.NET Core Angular
Monday, April 8, 2024
In this detailed guide, let's understand how to integrate SignalR with ASP.NET Core and Angular to build realtime web applications using an example. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
How to use Decorator pattern in ASP.NET Core
Sunday, March 31, 2024
In this article let's look at how we can create a simple Decorator implementation for an existing component using a Dependency Injection container. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Implementing Cognito Forgot Password and Update Profile in .NET using AWS SDK
Monday, March 25, 2024
In this article, let's continue and implement other important user journeys once logged into any application - Updating Password, Updating Profile and.. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
You Might Also Like
Weekend Reading — Gesturing wildly and in every direction
Saturday, July 6, 2024
This week we kick start the Slow Software Movement, CTRL+F the Spice Rack, walk over the kitchen table, slop the book, hide behind a tree, skip leg day, and hide under the weighted blanket. 😎 Labnotes
📳 Why Your Older iPhone Won't Get Apple Intelligence — The Perfect Gaming Controller
Saturday, July 6, 2024
Also: Apple TV+ Is Missing These Essential Features, and More! How-To Geek Logo July 6, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your
Mind The Pregap 💿
Saturday, July 6, 2024
The tale of the pregap, a weird quirk of the compact disc era. Here's a version for your browser. Hunting for the end of the long tail • July 06, 2024 Today in Tedium: Having gotten through a
Daily Coding Problem: Problem #1488 [Hard]
Saturday, July 6, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. We're given a hashmap associating each courseId key with a list of courseIds
Ranked | The World's Most Endangered Animals 🦍
Saturday, July 6, 2024
We look at the 10 most endangered animals on the planet, showing estimated numbers left of each species. View Online | Subscribe Voronoi: The App Where Data Tells the Story FEATURED STORY Ranked: The
The Role of AI in Hazmat Response
Saturday, July 6, 2024
Top Tech Content sent at Noon! Tackle your credit card debt with 0% interest until nearly 2026 Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 6
Figma pauses its new AI feature after Apple controversy
Saturday, July 6, 2024
Plus: YouTube quietly makes a stance on AI deepfakes and voice clones View this email online in your browser By Cody Corrall Saturday, July 6, 2024 Image Credits: David Paul Morris/Bloomberg / Getty
🐍 New Python tutorials on Real Python
Saturday, July 6, 2024
Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Python's Built-in Functions: A Complete
OVHcloud Hit with Record 840 Million PPS DDoS Attack Using MikroTik Routers
Saturday, July 6, 2024
THN Daily Updates Newsletter cover Cloud Identity Patterns and Strategies ($28.99 Value) FREE for a Limited Time Identity is paramount for every architecture design, making it crucial for enterprise
Tackle your credit card debt with 0% interest into 2026
Saturday, July 6, 2024
iPhoneLife Logo Sponsored email sent by iPhone Life Tackle your credit card debt with 0% interest into 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit card could help