Skip to main content
Retrieve the full image for an upload.

Request

curl https://api.fucksornot.com/api/image/550e8400-e29b-41d4-a716-446655440000

Response

Returns binary image data with appropriate headers:
HeaderValueDescription
Content-Typeimage/webp, image/jpeg, etc.Image format
Cache-Controlpublic, max-age=315360001 year cache for public images
ETagContent hashFor cache validation

Content Types

FormatContent-Type
WebPimage/webp
JPEGimage/jpeg
PNGimage/png
GIFimage/gif

Caching

Images are aggressively cached:
  • Public images: 1 year cache (max-age=31536000)
  • Private images: No cache (no-cache)
Use the ETag header for conditional requests:
curl https://api.fucksornot.com/api/image/550e8400-e29b-41d4-a716-446655440000 \
  -H "If-None-Match: \"abc123\""
Returns 304 Not Modified if unchanged.

Access Control

  • Public images: Accessible to everyone
  • Private images: Only accessible to owner and admins
Private images return 404 Not Found if accessed without authorization.

Direct Image URL

For embedding in HTML:
<img src="https://api.fucksornot.com/api/image/550e8400-e29b-41d4-a716-446655440000"
     alt="Upload image" />

Errors

StatusDescription
304Not Modified (cached)
404Image not found or access denied