[GH-ISSUE #583] Add support for Base64, binary POST uploads, and s3:// sources to upload endpoint #208

Closed
opened 2026-02-25 22:34:37 +03:00 by kerem · 0 comments
Owner

Originally created by @sadok-f on GitHub (Sep 16, 2025).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/583

Originally assigned to: @sadok-f on GitHub.

This PR expands image source flexibility and adds a POST-based upload flow:

  1. New POST endpoint: POST /upload/{options}
  • Accepts raw binary payloads (application/octet-stream or image/*)
  • Accepts JSON body with either {"base64": ""} or {"dataUri": "data:;base64,"}
  1. Existing GET endpoint enhancements:
  • Supports data: URIs directly in imageSrc (small payloads only)
  • Supports s3://bucket/key URIs; fetched using configured S3 endpoint/region, with optional forwarded headers
  1. Update documentation
Originally created by @sadok-f on GitHub (Sep 16, 2025). Original GitHub issue: https://github.com/flyimg/flyimg/issues/583 Originally assigned to: @sadok-f on GitHub. This PR expands image source flexibility and adds a POST-based upload flow: 1. New POST endpoint: POST /upload/{options} - Accepts raw binary payloads (application/octet-stream or image/*) - Accepts JSON body with either {"base64": "<base64>"} or {"dataUri": "data:<mime>;base64,<data>"} 2. Existing GET endpoint enhancements: - Supports data: URIs directly in imageSrc (small payloads only) - Supports s3://bucket/key URIs; fetched using configured S3 endpoint/region, with optional forwarded headers 3. Update documentation
kerem 2026-02-25 22:34:37 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#208
No description provided.