httpful icon indicating copy to clipboard operation
httpful copied to clipboard

A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.

Results 93 httpful issues
Sort by recently updated
recently updated
newest added

```php $response = \Httpful\Request::post($url) ->expectsJson() ->body(['abc'=>123], \Httpful\Mime::FORM) ->send(); ``` results in incorrect response body parsing, for example: `Array (size=1) '{"exampleResponseFromServer":"data processed successfully"}' => string '' (length=0)` (the entire raw response...

It seems that using addHeader on a post call is not working for me. Can anyone see why? This fails to execute, (white screen, even when wrapped in try/catch block.):...

I hoped I could use this as an alternative to curl, especially because I couldn't find curl mentioned in the requirements and because httpful is advertised as being an "alternative...

The payload is 1278491 chars of json-encoded data. It works fine with PHP 7.2.2 but not 7.3.29. Latest composer and dependencies. No errors in IIS / PHP log for this....

Hi I'm using httpful to send requests to an API but I'm frequently getting connection timeouts. Is there anyway to increase the length of time before a timeout occurs? Thanks...

Hi. I found a issue, when the value/content of attribute of the response (application/json) is a XML. See this example, observe the attribute **"route"**: ``` { "id": "60495986e195c92f356e1b6f", "applicationName": "api-onboarding-template",...

How can one download complete page using httpful? I am not only the HTML response, but also CSS and JS assets and images too. Is there any option for that?

Hi. We are using **Httpful library** to do some REST requests. All of them are to other internal systems in the same network so those request does not require the...

Hello guys! How I enable TLS 1.2 on request?