javascript - Cross Domain Request with TypeScript and Angular $http Service -


i new typescript , trying set cross domain requests $http service. in past javascript able this:

        $httpprovider.defaults.usexdomain = true;         $httpprovider.defaults.withcredentials = true; 

when @ irequestconfig options of definitivelytyped class required use angularjs see there withcredentials property not usexdomain property.

is there way this?

i don't believe possible this, may seem bad news. have news. don't need this, because setting usexdomain true has no effect. in fact, usexdomain not thing in angular.

here great tutorial on cors more info.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -