Last active
April 15, 2019 10:58
-
-
Save codeepic/9bbd4326e64bb728ac1b8a02017223b0 to your computer and use it in GitHub Desktop.
Angular HTTP Allow Origins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const headers = new HttpHeaders() | |
.set('Content-Type', 'application/json') | |
.set('Access-Control-Allow-Origin', '*') | |
.set('Access-Control-Allow-Headers', 'Access-Control-Allow-Headers'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment