Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

Welcome, Guest
Guest Settings

Thread: Datasnap server as a service application and javascript client

This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Permlink Replies: 0
Mohamad Akkad

Posts: 3
Registered: 9/7/13
Datasnap server as a service application and javascript client  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jul 18, 2017 2:12 AM
Hi All
I wish to find an answer for my question here...
I have developed a datasnap server as a service application that support a TCP/IP and HTTP protocols.
Everything is fine and I am connecting now with my datasnap by desktops applications built by delphi by TCP/IP.

Now I need to build a web client that connect with my datasnap server from javascript (REST).
I always received errors because of Cross-origin resource sharing (CORS) .
I found a solution on the web like this one [here|] ..
and this solution work when the application is built as "Datasnap Rest Application"
is there any way to apply this solution on datasnap server as a service..

Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02