2
xociety
8y

Anyone knows if it is possible to do SOAP API with Javascript and bypass CORS, or work with it? if not **** this

Comments
  • 2
    CORS is enforced by the browser so whether it's Node or SOAP or anything else, you can't disable it for your users. You can disable it in your personal browser for dev purposes if you have to.
  • 1
    Add the CORS filter on your end if you developed the service... You can do it in JS using some type of HTTP Interceptor and add the necessary headers to each of your request.
  • 0
    @dantheman ahh okay. I'll research into that. The thing i'll build will be used for just internal use.
  • 1
    Use one response header to throw the document.
Add Comment