This repository contains APIs for interacting with an image server built using Go and MongoDB.
- Endpoint:
POST /upload
- Description: Uploads an image to the server.
- Request Type:
POST
- Request Body:
image
: The image file to upload.
- Expected Response: Status code 200 on successful upload.
- Endpoint:
GET /image/:imageID
- Description: Retrieves a specific image from the server.
- Request Type:
GET
- Request Parameters:
imageID
: The unique identifier of the image to retrieve.
- Expected Response: Status code 200 on successful retrieval.