Questions tagged as 'guzzle'

1
answer

How to get the page html after loading the javascript, using GuzzleHttp

Good morning, I'm creating a Crawler to go to a specific page and then get some specific data from the page, but I'm having problems. At this point I am trying to perform a test in instagram, my code is as follows: $client = new Client()...
asked by 25.10.2018 / 15:00
1
answer

Is there any way to send an attachment along with the message by the Telegram BOT?

I'm using the Telegram API to send error logs to my applications. I display some key information, but I would also like to display the trace of the exception. The problem is that the Telegram returns a 400 error, showing that the valu...
asked by 13.09.2018 / 20:37
0
answers

Error in content type Guzzle

I am using this trait as the base of the request and I am setting Content-Type to application/vnd.api+json trait BaseRequest { private static $url = 'url'; public static function request() { return new Client...
asked by 22.03.2018 / 14:58
1
answer

Retrieve response from a post using guzzle

I'm trying to get the response from a json porst with guzzle in a simple php. This is the function in a laravel project that does the post for a url. (I'm using var_dump to show the result in the terminal). public function getPhotos($proper...
asked by 10.11.2016 / 13:47