finish GET method