Lin is Dream
Lin is Dream
Apr 29, 2025 · Backend Development

When to Use Body vs Params in Spring Boot APIs: A Practical Guide

This article explains the differences between Body and Params parameters in Spring Boot, covering various Content‑Type configurations such as query, x‑www‑form‑urlencoded, form‑data, binary, and JSON, and provides code examples and a clear comparison table to help developers choose the right approach for stable and efficient API design.

Body vs ParamsContent-TypeRequest Parameters
0 likes · 6 min read
When to Use Body vs Params in Spring Boot APIs: A Practical Guide
Architect
Architect
Jan 1, 2025 · Backend Development

Six Common Ways to Read Request Parameters in Spring Boot

This article explains six typical techniques—@RequestParam, @PathVariable, @MatrixVariable, @RequestBody, @RequestHeader, and @CookieValue—for extracting request data in Spring Boot APIs, providing usage scenarios and concrete code examples for each method.

APIAnnotationsJava
0 likes · 5 min read
Six Common Ways to Read Request Parameters in Spring Boot
Programmer DD
Programmer DD
May 23, 2024 · Backend Development

6 Essential Ways to Read Request Parameters in Spring Boot

This guide explains six common Spring Boot techniques—@RequestParam, @PathVariable, @MatrixVariable, @RequestBody, @RequestHeader, and @CookieValue—for extracting URL query strings, path variables, matrix variables, request bodies, headers, and cookies, complete with code examples for each method.

APIJavaRequest Parameters
0 likes · 5 min read
6 Essential Ways to Read Request Parameters in Spring Boot
Ximalaya Technology Team
Ximalaya Technology Team
Oct 13, 2023 · Frontend Development

Understanding HTTP Request Parameter Formats and Content-Type

The article explains that HTTP request parameters can be sent as URL‑encoded query strings for GET requests or as various POST body formats—such as application/json, application/x-www-form-urlencoded, multipart/form-data, or text/xml—each requiring the correct Content‑Type header so the backend can parse the data correctly, with JavaScript utilities like FormData, URLSearchParams, or qs helping developers serialize the payload.

APIContent-TypeHTTP
0 likes · 8 min read
Understanding HTTP Request Parameter Formats and Content-Type
Java Architect Essentials
Java Architect Essentials
Nov 8, 2021 · Backend Development

Using APIPOST to Send HTTP Requests and Manage API Parameters

This article explains how to use APIPOST to send HTTP requests, configure header, query, and body parameters, switch between form-data, x-www-form-urlencoded, and raw modes, view responses, and efficiently import parameter descriptions, providing a practical guide for backend developers.

APIAPI testingApipost
0 likes · 4 min read
Using APIPOST to Send HTTP Requests and Manage API Parameters
Java Tech Enthusiast
Java Tech Enthusiast
Aug 13, 2021 · Backend Development

Handling Request Parameters in Spring MVC

Spring MVC lets developers retrieve request data using the raw HttpServletRequest, or more conveniently with annotations such as @RequestParam, @RequestHeader, @RequestBody, and @CookieValue, supports automatic binding to POJOs including nested objects, injects native Servlet objects like HttpSession, and handles character encoding via CharacterEncodingFilter.

AnnotationsJavaRequest Parameters
0 likes · 9 min read
Handling Request Parameters in Spring MVC
FunTester
FunTester
Mar 6, 2020 · Operations

Using Groovy in JMeter to Modify Request Parameters

This tutorial explains how to employ Groovy scripts within JMeter to dynamically modify request parameters, covering setup of a thread group, adding a JSR223 PreProcessor, example code, console output verification, and result tree inspection for GET and POST requests.

GroovyJMeterPerformance Testing
0 likes · 5 min read
Using Groovy in JMeter to Modify Request Parameters