Frage im Vorstellungsgespräch bei Stuart

How would you protect a REST API against potential SQL Injections?