Vote UpVote

CORS and preflighted requests with TMS XData

TMS Software Blog – From Wikipedia: Cross-origin resource sharing (CORS) is a mechanism that enables many resources (e.g. fonts, JavaScript, etc.) on a web page to be requested from another domain outside the domain from which the resource originated. In other words, if you are trying to access entities in a TMS XData server from a web page (for example, using AJAX requests), this mechanism (CORS) will eventually get in action. Enabling CORS in TMS XData is very simple. Actually a single line of code: XDataServerModule.AccessControlAllowOrigin := '*'; And it will handle most of ...
Favorite? Off-Topic? 2015-04-10 14:00


Visits: 673
Votes: 2
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)