SFMC native functions and WSProxy
Let's look at the functions and capabilities we can use to call these API calls. Now, the good news is that there is capability in both languages to do this. But we would very highly recommend doing most, if not all of your API calls, inside SSJS as the capabilities, functions, error handling, and parsing are so much stronger and more reliable than AMPscript for this. That being said, let's explore the native functions that are built in with an explicit HTTP method.
AMPscript
In AMPscript, there is a built-in capability to natively handle SOAP API sends (internal). For the REST API, you can use the HTTP functions to make those calls. Outside of that, the API capability is near non-existent as this is not the purpose that AMPscript was built for. For now, let's dig into the functions and get a feel for how they are best utilized.
SOAP API functions
These functions had to be created because AMPscript has no native way to handle...