malte.huener
malte.huener
BBuildShip
Created by malte.huener on 9/28/2024 in #❓・buildship-help
ship Buildship ship failed
No description
5 replies
BBuildShip
Created by malte.huener on 9/27/2024 in #❓・buildship-help
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" }
5 replies
BBuildShip
Created by malte.huener on 5/23/2024 in #❓・buildship-help
How to get the right request variable?
No description
7 replies
BBuildShip
Created by malte.huener on 5/21/2024 in #❓・buildship-help
Facebook webhook
Hi there.. I am trying to set up a facebook webhook.. Facebooks webhook is sending the folling data: { "originalUrl": "/fbWebhook?hub.mode=subscribe&hub.challenge=1325&hub.verify_token=5f7c9a2d0e7c4baf4a76d6f7a5e34c65e0fb7c4a2b7f9c0d1e", "body": {}, "host": "7b442q.buildship.run", "hostname": "7b442q.buildship.run", "path": "/fbWebhook", "ip": "::ffff:169.254.1.1", "querystring": "hub.mode=subscribe&hub.challenge=1325&hub.verify_token=5f7c9a2d0e7c4baf4a6f7a5e34c65e0fb7c4a2b7f9c0d1e", "ips": [], "subdomains": [ "7blo2q" ], "protocol": "http", "method": "GET", "query": { "hub.challenge": "1325", "hub.verify_token": "0e34a6f7a5e34c65e0fb7c4a2b7f9c0d1e", "hub.mode": "subscribe" } } As a response for authentication the webhook expected the value from query.hub.challenge. And here is already my problem: How to send back that value back as a response? I encouter multiple errors and think that is has something to with the dot notation of the key "hub.challenge".. Error "Cannot read properties of undefined (reading 'challenge')" Can you help me?
5 replies
BBuildShip
Created by malte.huener on 5/20/2024 in #❓・buildship-help
How to add authentication on api call trigger
Hi there.. I am making my first steps with Buildship and don't know, how to add an authentication on the API Call trigger. For exmaple: Allow only webhooks to call the trigger when the correct bearer token is send. How do I do that?
7 replies