API Example Using Python

import requests

baseURL = r"https://us-central1-rap-data-365417.cloudfunctions.net/coverV3"
polygonAOI = {
  "type":"Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [
          -106.41602428606434,
          44.08657769114205
        ],
        [
          -106.15784557512684,
          44.228451650352675
        ],
        [
          -106.14685924700184,
          44.47199042169604
        ],
        [
          -106.32813366106434,
          44.417086251829154
        ],
        [
          -106.38855846575184,
          44.31891474827157
        ],
        [
          -106.45447643450184,
          44.193015141103366
        ],
        [
          -106.41602428606434,
          44.08657769114205
        ]
      ]
    ]
  },
  "properties": {
    "mask":"true",
    "year": "2023"
  }
}

# Create a session object
session = requests.Session()

# Set the Content-Type header to application/json for all requests in the session
session.headers.update({"Content-Type": "application/json'"})

# Send a POST request with JSON data using the session object
response = session.post(baseURL, json=polygonAOI)

# Print the response
print(response.json())