1

I am trying to use the relative path in $resource and it doesn't recognize. Do I need to mention anywhere about this or Am I missing any?

It works when I provide the complete path

$resource('/SSystems/authenticateUser', data);
3
  • your application server running on 80? or another port? Commented Nov 19, 2015 at 10:26
  • @FurkanBaşaran It's running on 80 @ Satpal I tried the <base href="/application_root/" /> option but it didn't work Commented Nov 19, 2015 at 10:34
  • It's my bad, it works with <base href="/application_root/" /> Commented Nov 19, 2015 at 10:36

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.