1

I come across this post Angular 2 dynamically change base url in post requests.

In my component, if I do instantiate a new instance of CustomRequestOptions

      let options = new CustomRequestOptions();

options.url is empty.

My question is how do I get the base url out of CustomRequestOptions in my components?

Community
  • 1
  • 1
Shawn
  • 5,130
  • 13
  • 66
  • 109

0 Answers0