quick way to check if request was successful