Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 1 of 1 total
Thread Using EWB with TMS XData
Fri, Sep 20 2019 5:40 AMPermanent Link

Paul Coshott

Avatar

Hey All,

Has anyone used XData from TMS as a web server. I have a test server running with Swagger enabled, but i can't even connect to it with EWB.

If you want to try it, use the following:

http://admin.tennispro.cloud:2001/tms/xdata/swaggerui#/

There are 2 services - GetStaff which returns a staff record with 5 fields (no database here, just hard coded values) when a Staff Id of 1 or 2 is used as the parameter.
The other service is GetToken which accepts a user as the parameter and returns a JW Token.

Using the swagger interface, you can test the services and see what they return, whether the parameters are body, query etc., the request URL.

Anyone know how to connect to the services using a TServerRequest ?

Cheers,
Paul
Image