sync and async GET/PUT/POST requests implemented