JusticeTech System
Kanalga Telegram’da o‘tish
Learn to learn before you teach
Ko'proq ko'rsatishMamlakat belgilanmaganToif belgilanmagan
225
Obunachilar
-124 soatlar
-27 kun
-16630 kun
Postlar arxiv
Meanwhile POST has a different which lies about intent because POST is meant to change the state on a server so it is not safe or idempotent so Caches and CDN will not catch your post response because they have to assume it's mutated something
Remember GET request with body are not handle consistently clients, proxies and firewall and end up being rejected by some tools, some even ignore the Body while some behave differently this is already a limitation
So the most common work around became using POST for Searches and complex query
In that case the next logical implementation is to put the Query parameters in a request body on a GET method call
Well technically that sound so logical and reasonable but.....
Not the problem with get is that it put everything in a url using a parameters and URL have length limit if they get too long the server throw a 414 error code
I beleive y'all know what 414 error code means and if don't read above this statement
Or ask your question
What if we want to access the server base on some conditions and filters involving
Sorting
Pagination
Nested conditions
Arrays
Date ranges
The default method applicable here is GET because you are reading and not Changing anything
But then there's a huge gap and that is what happened when we want to SEARCH?
Alright follow me
As you all know the functions of this popular HTTP methods, which are GET, POST, PUT AND DELETE
GET to fetch data
POST to create or send data to the server
PUT to replace or update a resource
DELETE to remove
Now let me dive deep about this new HTTP method called QUERY
Get your writing materials
HTTP just got it's first new method in 16 years
No GET, no POST
Just something new entirely, it is called QUERY.
It behaves both like a POST and a GET
Decision to subscribe to fable 5 is almost done and might still be incomplete but will most likely be done
Actually the most interesting modded WhatsApp
I cooked with this graphics though 😂😂
Download link on the video description and comment on YouTube
https://www.youtube.com/@JusticeTech
Am i the only one that don't get freak with thus telegram premium even when i can legitimately afford it
Feel like subscribing but don't know why i should
