HTTP
13 items tagged with "http"
Tutorials2
How to Build a REST API with Best Practices
Design resource-oriented routes, use correct status codes, validate input, handle errors consistently, and version your REST API.
How to test a Go HTTP API with httptest
Write fast, isolated tests for a Go HTTP handler using the standard library's net/http/httptest package.
Products4
Benchmarks2
wrk HTTP Benchmark
Modern, multithreaded HTTP load-testing tool that generates high request volume from a single machine and reports throughput and latency distribution.
ApacheBench (ab)
Simple, ubiquitous command-line HTTP benchmarking tool for quick single-endpoint throughput and latency measurement, bundled with Apache.
FAQs3
What is CORS and why do I get CORS errors?
Cross-Origin Resource Sharing (CORS) is a browser security mechanism that controls whether a web page can make requests to a different origin (scheme,...
What does idempotency mean in APIs?
An operation is idempotent if performing it multiple times has the same effect as performing it once. In HTTP, GET, PUT, and DELETE are defined as ide...
What is the difference between HTTP/2 and HTTP/3?
HTTP/2 introduced multiplexing of multiple requests over a single TCP connection, header compression, and server push, reducing latency compared with ...