use ok to check if request was successful and raise exception if not
use ok method to validate request status