first version that only does GET requests