Building a Minimal Tomcat-Like Server in Java
An HTTP request sent by a browser contains a method, path, and headers. To represent this server-side, we define a class that parses the raw input stream.
package tomcat;
import java.io.IOException;
import java.io.InputStream;
public class IRequest {
private String url;
private String method;
public IRequest(InputStream inputStre ...
Posted on Tue, 03 Nov 2026 16:54:44 +0000 by Hurklefish
Implementing File Uploads to a Server in Unity3D
File Upload Mechanism in Unity
In standard web applications, file uploads work by bundling file data into a HTTP request and sending it via POST to the server, which then parses and saves the file. Unity follows the same principle using the WWW class or UnityWebRequest class for network communication.
Implementing Uploads with the WWW Class
The ...
Posted on Wed, 28 Oct 2026 16:46:25 +0000 by rcatal02
Building a Fluent HTTP Signature Library in C#
The Problem
When working with API integrations, signature generation and verification become repetitive tasks. Initially, implementing signatures on a per-endpoint basis leads to sctatered, hard-to-maintain code. A better approach involves creating a reusable utility that handles signature generation consistently across different endpoints.
Des ...
Posted on Mon, 26 Oct 2026 16:05:29 +0000 by ambrennan
Performing HTTP GET Requests with Qt and QNetworkAccessManager
The QNetworkAccessManager class in Qt handles network communication, including HTTP operations. The following steps demonstrate how to perform a basic HTTP GET request.
Step 1: Declare Members in the Header
Define the network menager instance and the slot to handle encoming responses.
private slots:
void handleResponse(QNetworkReply *networ ...
Posted on Mon, 19 Oct 2026 16:55:02 +0000 by PaTTeR
Using Request Methods with RestTemplate in Spring
What is RestTemplate?
RestTemplate is a template class in the Spring framework for accessing RESTful services. It provides a set of convenient methods to send HTTP requests and handle responses.
RestTemplate can be used to send GET, POST, PUT, DELETE and other types of requests, and can handle response data in various formats such as JSON and X ...
Posted on Sat, 17 Oct 2026 16:30:27 +0000 by Sulphy
Command-Line HTTP Operations with cURL
Syntax Overview
cURL follows a straightforward invocation pattern:
curl [options] <URL>
Core Options Reference
Option
Description
-A, --user-agent
Specifies client identification string
-b, --cookie
Sends cookies from string or file
-c, --cookie-jar
Persists cookies to file after transfer
-C, --continue-at
Resumes interrupte ...
Posted on Sat, 17 Oct 2026 16:07:11 +0000 by Navarr
UnityWebRequest Complete Usage Guide
Introduction
UnityWebRequest is Unity's modern networking solution for handling HTTP communications. It provides a flexible system for sending requests to web servers and handling responses. This article covers the various HTTP methods and common usage scenarios.
Basic Usage
The fundamental approach involvse creating a UnityWebRequest instance ...
Posted on Tue, 13 Oct 2026 16:41:04 +0000 by gabrielp
HTML Forms: Structure, Attributes, and Data Submission
Understanding HTML Forms
HTML forms enable web pages to collect user input and commmunicate with backend servers. When a user fills out a form and clicks submit, the data travels from the browser to the server, gets processed, and returns a response to the client.
Form are essential components for user interactions like login pages, registratio ...
Posted on Thu, 01 Oct 2026 16:08:19 +0000 by matstuff
Building WSGI Applications with WebOb Request and Response Objects
WebOb is a self-contained Python package that wraps the WSGI environment and response contract behind convenient, high-level objects. Instead of manipulating the raw environ dictionary and hand-crafting start-resposne tuples, you interact with rich Request and Response classes that expose headers, form data, cookies, status codes, and more as p ...
Posted on Mon, 28 Sep 2026 16:17:18 +0000 by Gecko24
Python HTTP Libraries: urllib, urllib2, and requests Comparison
Understanding urllib and urllib2 Differences
Both urllib and urllib2 modules handle URL operations, but they serve different purposes. The key distinctions include:
urllib2.urlopen can accept either a Request object or a URL, while urllib.urlopen only accepts URLs
When using a Request object with urllib2, you can set custom headers for t ...
Posted on Fri, 25 Sep 2026 16:54:16 +0000 by myanavrin