Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Question tags:
question asked: 10 Nov '19, 04:08
question was seen: 5,603 times
last updated: 11 Nov '19, 11:43
That's a good question, which is why I upvoted it back to zero :)
I too would like to see sample SQL that implements Cross-origin resource sharing (CORS).
"Using CORS enables a web programmer to use regular XMLHttpRequest . . ."
maybe he wants to know how to add correct headers to the server response... E.g. this http://dcx.sap.com/sa160/en/dbreference/http-header-function.html
Well, I don't have samples but v17 seems to have added something here:
Obviously, if this is required for CORS and was added in v17, it won't help with v12.
At present, there is no budget to purchase the SA 17 version!
Well, in my limited unstanding, the web server would only need to accept the OPTIONS method if your client tries to use CORS with other methods than GET or HEAD. If requests via GET and HEAD are sufficient, adding the according headers to the response should work with v12, too.
...go ahead, don't be shy, upvote the question :)
Not possible, I had already upvoted, counts are +2/-2=0:)