http://127.0.0.1:3063/dashboard/editresume?cv=1.%20Personal%20Information&coverLetter=%20*%20Proven%20success%20in%20managing%20large-scale%20digital%20marketing%20campaigns%2C%20resulting%20in%20significant%20growth%20in%20online%20sales%20and%20brand%20awareness.%0D POST http://127.0.0.1:3063/dashboard/editresume 404 (Not Found) For testing stripe webhook locally // server.js // // Use this sample code to handle webhook events in your integration. // // 1) Paste this code into a new file (server.js) // // 2) Install dependencies // npm install stripe // npm install express // // 3) Run the server on http://localhost:4242 // node server.js // The library needs to be configured with your account's secret key. // Ensure the key is kept out of any version control system you might be using. const stripe = require('stripe')('sk_test_...'); const express = require('express'); const app = express(); // This is your Stripe CLI webhook secret for testing your endpoint locally. const endpointSecret = "whsec_fc249895c02d407314bb502afecac95b38b81835cd4133f09d2bef2c8b7c08de"; app.post('/webhook', express.raw({type: 'application/json'}), (request, response) => { const sig = request.headers['stripe-signature']; let event; try { event = stripe.webhooks.constructEvent(request.body, sig, endpointSecret); } catch (err) { response.status(400).send(`Webhook Error: ${err.message}`); return; } // Handle the event console.log(`Unhandled event type ${event.type}`); // Return a 200 response to acknowledge receipt of the event response.send(); }); app.listen(4242, () => console.log('Running on port 4242'));