removed necessity for function parameter in HTTP requests