Class to make GET and POST async requests