Simple HTTP (POST and GET) request with query