Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
do_web_requests_with_guzzle [2018/09/29 15:13] – Make it clear that getBody() doesn't return a string. Traumflug | do_web_requests_with_guzzle [2019/01/03 15:22] (current) – [A POST Request] Fix request option name, see http://docs.guzzlephp.org/en/stable/quickstart.html#sending-form-fields Traumflug | ||
---|---|---|---|
Line 104: | Line 104: | ||
try { | try { | ||
$body = $guzzle-> | $body = $guzzle-> | ||
- | 'json' => [ | + | 'form_params' => [ |
' | ' | ||
' | ' |
do_web_requests_with_guzzle.txt · Last modified: 2019/01/03 15:22 by Traumflug