add chapter about restful api and cors