-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationfeedback:wild-lycheeFeedback from Wild Lychee buildFeedback from Wild Lychee build
Description
Problem
The CLI docs show run402 storage upload but don't document the HTTP API for uploading from an edge function. Had to guess the URL pattern and auth header.
Suggested Solution
Add to the storage section or functions section:
// Upload from an edge function
const res = await fetch('https://api.run402.com/storage/v1/upload/my-bucket/path/file.pdf', {
method: 'POST',
headers: { Authorization: 'Bearer ' + process.env.RUN402_SERVICE_KEY },
body: fileBuffer,
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationfeedback:wild-lycheeFeedback from Wild Lychee buildFeedback from Wild Lychee build