indentation and fixing the GET request