Final Endpoint List

For the links endpoint, u obviously need aws-sdk/s3-client

and create an IAM user, which has not an access to console but it as S3fullAccess which is set by the root user, so do that get an accesskeyid and secretaccesskey!

1. How to Test the multer nodejs API with Postman

Once your Node.js server is running (by executing node server.js in your terminal), you can use Postman to test the file upload endpoint.

  1. Set the Request Method and URL:
  2. Configure the Request Body:
  3. Add the File Key and Value:
  4. Send the Request:

If the upload is successful, you will see a 200 OK status in the response, and the JSON data from the server's response will appear in the body section below. Additionally, you will find the uploaded file saved in the uploads/ directory on your server.