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!
Design. Code. Compile. Deploy.
Start Free Trial Upgrade Today
Free Delphi Community Edition Free C++Builder Community Edition