re: Build a RESTful API with the Serverless Framework VIEW POST


I noticed you are using string interpolating for your values in the SQL query, doesn’t this make you vulnerable to an injection attack?


Hi Trysm, you're absolutely right. To explains developer in the simplest way, I haven't included any best practices or validation. If it's production application then I will definitely use string interpolation and so many other stuff. Thanks for you're a suggestion.

code of conduct - report abuse