'Uploading images to Windows Server and making them available publicly

I am trying to upload images in my windows server VM "hosted on-premise" and make these images available publicly like www.example.com/imageFolder/cat.png.

This VM has IIS enabled (I am not sure if IIS is related here) and it is assigned a URL and available publicly.

Aside from any programming languages or frameworks, I just want to know if storing the image in the server and making it available via a link is possible? If so, how can I achieve it?

To clarify further:

I believe what I want is very simple and tedious.

Consider the following workflow:

  1. Run an API that has end points to receive images on the server.
  2. Store the messages in the server.
  3. Return the link that points to the picture.

I want to know the procedure from the windows server side like

  1. Do I need to set certain properties on the folder where I will store the images?
  2. Do I need to add a site to show the images back to the user?

I am a developer and I am new to the Windows Server & IIS so I may not have all the fundamentals.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source