malte.huenerM
BuildShip16mo ago
4 replies
malte.huener

download / grab PDF from supabase storage and send it to an API

Hi there,

i have a supabase trigger on inserts. this trigger gives back a pdf path and id.
now i will send the id and binary pdf file to an API. How i should do this?

{
"schema": "public",
"type": "INSERT",
"old_record": null,
"record": {
"branch_name": "Gastronomie",
"pdf_name": "https://coodsldfgelifogiqfdd.supabase.co/storage/v1/object/public/analyses_bucket/pdf/1727406193189000.pdf",
"company": "wird ausgelesen..",
"id": 1210,
"status": "wird erstellt..",
"owner_uuid": "dac193c1-1d68-4cc1-a75f-4f19b970c22b",
"created_at": "2024-09-27T03:03:15.825172+00:00"
},
"table": "analyses"
}
Was this page helpful?