Bound an API response body with Java HttpClient
Cap an upstream API response before JSON parsing with Java HttpClient. A local HTTP fixture verifies the exact size boundary and an oversized response.

Full-stack developer and maintainer of EasyDown, a developer API for media from public posts.
Zhang Bo is a full-stack developer and the maintainer of EasyDown, a developer API for media from public posts. He writes about API integrations and reliability testing.
Zhang BoCap an upstream API response before JSON parsing with Java HttpClient. A local HTTP fixture verifies the exact size boundary and an oversized response.