craft-fetch
craft-fetch copied to clipboard
Utilise the Guzzle HTTP client from within your Craft templates.
This plugin is not yet supported with Craft 5. Will there be an update?
Default set to JSON, but there's now support if the endpoint is returning XML. Currently XML attributes are not returned (other than from the parent node), but that's next on...
Fixes issue #9
added autodetection for text/html response and therefore use the getContents() to return it.
I have tried to post my form values using the multipart option(https://docs.guzzlephp.org/en/stable/request-options.html#multipart), like the below in my twig template file, ``` {% set client = { base_uri : 'baseURL', timeout...
After updating to Craft 3.6.x along with it Guzzle was updated to 7.3. This plugin stopped working. I created a proof of concept to help troubleshoot the issue. ```bash #...
Use case: For an API request that responds back with detailed error messages for how to correct an issue, or exactly what went wrong, it would be nice to have...
Hey there! Not sure if this is something I'm doing wrong with the plugin or something I need to resolve outside of it so apologies if it's the latter. I'm...