make a REST api and do GET and POST requests to your URL.