hakre, there are functions available to manipulate the params/options for any given stream or stream context. For example, [code]stream_context_set_option($context, ['http' => ['content' => 'hello, world']])[/code] could be used to change the request body.