How to customize URL in Datasnap REST servers

Posted by on in Blogs

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!



About
Gold User, Rank: 75, Points: 19
A passionate Brazilian development by Delphi

Comments

Check out more tips and tricks in this development video: