$ resource非常棒,提供了处理Web服务的非常方便的方法.如果必须在不同的URL上执行GET和POST,该怎么办?
例如,GET URL是,http://localhost/pleaseGethere/:id 而POST URL http://localhost/pleasePosthere没有任何参数
http://localhost/pleaseGethere/:id
http://localhost/pleasePosthere
angularjs
angularjs ×1