File upload functionality is one of the most common use-cases for APIs. In this example we demostrate how you can integrate file upload API with Metadefender Cloud.
In order to use Metadefender Cloud Public APIs, you have to first register for OPSWAT account. Following process describes how to obtain your API key:
- Visit Metadefender.com and click on Sign Up
- You will be redirected to OPSWAT community registartion page and asked to create free OPSWAT account. This account grants you access to all OPSWAT Cloud products.
- Fill out the registration form and follow the process
- After confirmation of your email, visit Metadefender.com and login with your new account
- Visit your account page and you will see your API key
> git clone
> cd ...
> yarn install
> yarn start
yarn start v0.27.5
$ tsc
$ node dist/index.js
Starting web server on port 3000