printing data in GET request