RESTFul api implementation

Added by Alexandre Bencz about 6 years ago


I have implemented a simple RestFul webapi with Wt to a test project ( ).

I wonder if the way I've implemented it is the best with Wt....

In several parts of the development I have doubts, for example, in this part:

I've created with a limit of 30 connections in SQL, I believe this is not the best for a system that will receive MANY accesses...

So, the REAL world WebApi will receive MANY connections per second, what is the best way to develop webapi? ( in terms of SQL connection )

How can I make a method to receive a file? ( something like this: )