can I use Local Turnkey Prototyper to test exposing REST-Services? Or locally installed Turnkey with MDrivenServer? I have tried it but with no success
Efim
Yes - you set AllowRest = true on the ViewModel. Then try a get: http:localhost:yourport/TurnkeyRest/Get?command=vmname&id=rootobjref
This is described here : https://wiki.mdriven.net/index.php/Rest_Services_In_MDriven
Ah, I thought TurnkeyRest stands for the name of the Turnkey App in IIS.
But if I set url as you mean localhost:8182/TurnkeyRest/Get?command=AutoFormPerson&id=1!1 I get "this site is not available".
For Turnkey using MDrivenServer I set url as https://desktop-6ddsnaa/MDrivenTurnkeyApp/TurnkeyRest/Get?command=AutoFormPerson&id=1!1 and I get "During startup of Turnkey we initiate communication with your MDrivenServer - this failed. Check __MDrivenServer, if it is up - is the a-account possible to login with or locked out? Try SendSettingsAndRestart - it will reset the a-account if locked.".
But I can call "https://desktop-6ddsnaa/MDrivenTurnkeyApp/__MDrivenServer/" and log in user "a" with PW "123456"