You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dabukster
changed the title
iron-ajax does not set access-control-allow-origin header
iron-ajax sets custom headers only as Access-Control-Request-Headers values
Feb 28, 2018
Description
I'm using Polymer 2.0 and I want to set a custom header, like
"x-personal-header": "some value"
Expected outcome
Actual outcome
Steps to reproduce
iron-ajax
element in the page and set headersheaders='{"access-control-allow-origin": "*"}'
this.$.save.generateRequest()
Browsers Affected
The text was updated successfully, but these errors were encountered: