July 2018
Intermediate to advanced
404 pages
9h 5m
English
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "Let's create a sendResponse function that will respond with a simple response."
A block of code is set as follows:
var request, response;exports.dialogflowFirebaseFulfillment = firebase.https.onRequest((req, res) => { request = req; response = res; console.log('Fortune Cookie Request headers: ' + JSON.stringify(request.headers)); console.log('Fortune Cookie Request body: ' + JSON.stringify(request.body)); if (request.body.queryResult) { processV2Request(); } else { console.log('Invalid ...Read now
Unlock full access