Help with webhooks
Railway doesn't call my webhook, but i can manually call it through postman
22 Replies
Project ID:
N/A
@joshmo_dev
i know it is allowed
cuz in postman i get the expected response
also, its not railway's fault
since other webhooks get called
while on mine i just get nothin
wait does your
/railway
endpoint require authorisation?nope
its literally just the simplest endpoint ever
i may be saying something dumb, but did u setup cors?
i may be the dumb one here...
cors?
π
expressJs server?
ah fuck
im dumb
yes lmfao
import cors from "cors";
ye ye
god...
my bad lmfao
im dumb
idk if thats gonna solve it tbh
welp, were gonna find out
yep
it works
bro im so dumb
how did i forget
im sorry for wasting y'alls time
i just forgot that was a thing at all
dw
real ones solve each ones dumb questions π€
real π€
github webhooks work even through cors so this was never an issue for me in fairness (since i've never used railway hooks before and assumed it was the same)
yeah, same happened to me, still was a dumb mistake ngl