fix(request): update incorrect function name
fix(request): update incorrect function name

There was a spelling error with the error catching code where it was
incorrectly calling `json_endode` rather than the correct function name
which is `json_encode`.

sysdia-solutions/thumbify_me_website,sysdia-solutions/thumbify_me_website,sysdia-solutions/thumbify_me_website,sysdia-solutions/thumbify_me_website