-
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 URL pattern for calling edge functions from browser JS (https://api.run402.com/functions/v1/<name>) isn't documented in llms-cli.txt. Had to infer it from the deploy response. The docs only show CLI invocation via run402 functions invoke.
Suggested Solution
Add a "Calling functions from the browser" example to the functions section:
const res = await fetch('https://api.run402.com/functions/v1/my-function', {
method: 'POST',
headers: { apikey: ANON_KEY, Authorization: 'Bearer ' + accessToken, 'Content-Type': 'application/json' },
body: JSON.stringify({ key: 'value' }),
});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