pearpages / wedding-guests Goto Github PK View Code? Open in Web Editor NEW 0.0 2.0 0.0 1.03 MB wedding-guests JavaScript 92.39% HTML 7.61% Introduction ยท People ยท Discuss
Backend Parsing Request Body JSON const express = require('express') app.use(express.json()) // <==== parse request body as JSON app.post('/test', (req, res) => { res.json({requestBody: req.body}) // <==== req.body will be a parsed JSON object }) Sending POST message with fetch (async () => { const rawResponse = await fetch('https://httpbin.org/post', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({a: 1, b: 'Textual content'}) }); const content = await rawResponse.json(); console.log(content); })(); Email Validation trhough regex Email Address Regular Expression That 99.99% Works. Disagree? Express CORS cors Email with mailgun account "mailgun-js": "^0.22.0"
Backend Parsing Request Body JSON const express = require('express') app.use(express.json()) // <==== parse request body as JSON app.post('/test', (req, res) => { res.json({requestBody: req.body}) // <==== req.body will be a parsed JSON object }) Sending POST message with fetch (async () => { const rawResponse = await fetch('https://httpbin.org/post', { method: 'POST', headers: { 'Accept': 'application/json', 'Content-Type': 'application/json' }, body: JSON.stringify({a: 1, b: 'Textual content'}) }); const content = await rawResponse.json(); console.log(content); })(); Email Validation trhough regex Email Address Regular Expression That 99.99% Works. Disagree? Express CORS cors Email with mailgun account "mailgun-js": "^0.22.0"
Vue.js ๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
javascript JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Machine learning Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Facebook We are working to build community through open source technology. NB: members must have two-factor auth.