What do you want to save?
Add Code snippet
New code examples
-
Other 2022-01-22 04:21:38
stripe webhook response body
// Set your secret key. Remember to switch to your live secret key in production. // See your keys here: https://dashboard.stripe.com/apikeys const stripe = require('stripe')('sk_test_51J5s1XKBHwj0u9o9Lj...SdWEozE6Q00OXEImjKD''sk_test_51J5s1XKBHwj0u9o9LjO... Add solution -
Javascript 2021-10-22 23:04:06
https with express
const fs = require('fs'); const https = require('https'); const app = require('express')(); app.get('*', (req, res) => res.send('<h1>Hello, World</h1>')); const server = https.createServer({ key: fs.readFileSync(`${__dirname}/localhost-... Add solution