I want to use this plugin to fetch html content. Currently it passes the response body through a json_decode() function so it can only be used for fetching json data (this is not mentioned anywhere in the readme).
If I make the following modification to FetchTwigExtension.php then I can get the raw body response.
I want to use this plugin to fetch html content. Currently it passes the response body through a json_decode() function so it can only be used for fetching json data (this is not mentioned anywhere in the readme).
If I make the following modification to FetchTwigExtension.php then I can get the raw body response.
Would you consider making json decode optional?