RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
Delphi

How to customize URL in Datasnap REST servers

Author: Landerson Gomes

In this post I discuss how to customize the URLs generated by the Datasnap REST server.

Challenge

A major challenge in building APIs when using Datasnap is to generate URLs so that documentation, understanding, and versioning is easy.

I’ve always been particularly bothered by the “datasnap / rest / TServeMethodName” automatically generated by Datasnap servers, because when we share this to other languages it is immediately identified how we generate our server.

Video

After exchanging ideas with Kelver Merlotti and Marcelo Varela, I decided to create this video and show how to solve this problem by customizing the URL generated by the Datasnap server.

Watch the original post (video in Portuguese)


 

http://landersongomes.com.br/embarcadero/delphi/customizando-url-em-datasnap-rest-servers

To the next!


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Related posts
DelphiRAD StudioTech Partner

Powerful JPEG Video Streaming Library For Delphi And C++ Builder.

C++

What's New in the GetIt Package Manager - June 2020

C++

RAD Studio 10.4 Now Available, Learn More

C++NewsRAD Studio

Open for Business with 10.4! - May 2020 GM Update

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES