#japoorv-webhooks
1 messages · Page 1 of 1 (latest)
@plain matrix hi! It likely is something like that yes
if it helps I found this snippet in some old notes I have :
@RequestMapping(method=RequestMethod.POST)
public @ResponseBody String getEvent(@RequestBody String request, @RequestHeader(value="Stripe-Signature") String signature){
Event event = Webhook.constructEvent(request, signature, secret)
that was for a Spring server at least but I remember that defining the route with @RequestBody String request as a parameter was important.