added url attribute for request func