Add initial code which does GET and POST requests