Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
coreBOS Webservice Library for AngularJS : sample code
#7
Exactly,

i have added this under conf.d/cors.conf :


Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header set Access-Control-Max-Age "1000"
Header set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"

# Added a rewrite to respond with a 200 SUCCESS on every OPTIONS request
RewriteEngine On
RewriteCond %{REQUEST_METHOD} OPTIONS
RewriteRule ^(.*)$ $1 [R=200,L]
Reply


Messages In This Thread
RE: coreBOS Webservice Library for AngularJS : sample code - saidmsl - 09-05-2015, 03:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)