Creating Secure Code-Web API Foundations