Skip to content
Advertisement

Proper syntax for Guzzlehttp request containing body and header

I have the following Guzzle send request on my controller :-

JavaScript

The above syntax only sending the header but , what is the proper syntax i should use to send both header and body.

Advertisement

Answer

Guzzle docs has plenty of examples, try reading them.

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement