Posts

Showing posts with the label http methods

How Does Linux Find Your Commands? (PATH Will Blow Your Mind)

Image
Linux PATH Explained: The Hacker Secret You Use EVERY Day (and Never Noticed) Grab your coffee, because we're about to unlock something you've already used a thousand times without knowing it. Have you ever typed ls in a Linux terminal and wondered, "How does my computer know what that even means?" It's not magic. Your terminal (the shell ) has to FIND that program somewhere on your system before it can run it. Behind the scenes, Linux uses environment variables , which are like little sticky notes the shell reads to know how to behave. One note holds your username. Another holds your home folder. And one of them is the boss of them all: PATH . Here's the deal. PATH is a list of folders where Linux goes hunting for programs every time you hit Enter on a command. The folders are separated by colons ( : ), and the shell checks them in order, left to right, until it finds a match. Think of it like a video game: you press the button, and the game scans L...

HTTP QUERY: The Missing HTTP Method You Probably Didn't Know About

Image
Introduction For years, developers had only two realistic choices when sending data to a server: GET or POST . Need to fetch data? Use GET. Need to send a request body? Use POST. Simple... until it wasn't. Modern APIs, GraphQL, and complex search systems started pushing HTTP beyond what these methods were originally designed for. That's where HTTP QUERY enters the picture a new HTTP method designed specifically for read-only requests that need a request body. The Problem with GET GET has always been the king of retrieving data. It's fast, cacheable, and understood by every browser and proxy. But GET comes with one major limitation: It wasn't designed to carry a request body. Imagine building a search API where users can filter products by hundreds of options, nested objects, locations, and permissions. Stuffing all of that into a URL quickly becomes ugly, difficult to manage, and sometimes impossible because many servers and browsers limit URL length. Developer...