jalendport / craft-fetch

Utilise the Guzzle HTTP client from within your Craft templates.
MIT License
24 stars 13 forks source link

Add ability to return string body #2

Closed linchpinstudios closed 6 years ago

linchpinstudios commented 6 years ago

1 Allow fetch to return string instead of parsed JSON.

Added extra parameter that will tell it not to parse the body as JSON but rather return the string from body.

Note: default behavior has remained the same.

lukeyouell commented 6 years ago

@linchpinstudios thanks!