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
Aspire Deployment: Course Updates (coming soon)
Wednesday, October 23, 2024
Hey, it's Milan. Just wanted to share something I'm working on as we're getting closer to the .NET 9 release. I'm working on a brand new chapter for my courses about integrating .NET
📟 Turning Old Tech Into Keychains — How to Use Android's Theft Protection Feature
Tuesday, October 22, 2024
Also: Modern Video Games Are Too Easy, and More! How-To Geek Logo October 22, 2024 Did You Know When Galoob released the "Game Genie" product in the 1990s to allow players on the Nintendo
Unlock Python's Pattern Matching, Combinatoric Iterators, SSH Scripting, and More
Tuesday, October 22, 2024
Structural Pattern Matching in Python #652 – OCTOBER 22, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Structural Pattern Matching in Python In this tutorial, you'll learn how to harness the
Daily Coding Problem: Problem #1586 [Hard]
Tuesday, October 22, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. An 8-puzzle is a game played on a 3 x 3 board of tiles, with the ninth tile
Mapped | The Home Price-to-Income Ratio of Large U.S. Cities 🏘️
Tuesday, October 22, 2024
The top five large US cities have a home price-to-income ratio more than double the national average of 4.7. View Online | Subscribe | Download Our App Presented by Hinrich Foundation NEW REPORT:
Ushering In
Tuesday, October 22, 2024
Netflix's Theatrical Strategy • Blade Runner vs. Elon Musk • Disney vs. App Store • Anthropic's AI PC Control • AirPods Hearing Boost Ushering In Netflix's Theatrical Strategy • Blade
Speeding up with SIMD and Go assembly
Tuesday, October 22, 2024
Plus some Go code generation magic, test parallelism, and working with Excel spreadsheets. | #528 — October 22, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly A Taste of Go Code Generator
LW 155 - Optimizing Shopify Themes for Long Product Descriptions
Tuesday, October 22, 2024
Optimizing Shopify Themes for Long Product Descriptions Shopify Development news and articles
Secure Your Election 2024 eBook at the Best Value Today ⏰
Tuesday, October 22, 2024
Stay informed with our visual guide to the US Presidential Election—exclusively for VC+ members, along with additional updates. View email in browser Now Available: The Visual Guide to the US Election
Startups of The Year: How To Vote
Tuesday, October 22, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, October 22, 2024? The HackerNoon