Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
Delphi

How to customize URL in Datasnap REST servers

the future of starts demands massive productivity

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

Leave a Reply

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

IN THE ARTICLES