get endpoint & method