restful api method options