Fixed issue with GET/POST requests