How to enable cors request with angular.js-resource

后端 未结 1 608
既然无缘
既然无缘 2020-12-03 11:20

I have an angular.js application and i need to do CORS request.

I want to define my rest services \"the angular\" using angular resources, described here: http://doc

相关标签:
1条回答
  • 2020-12-03 12:07

    URL for $resource accepts using colon for parameters. Therefore when using port in url you need to escape the colon for port. This is explained in $resource docs

    0 讨论(0)
提交回复
热议问题