pirple / The-NodeJS-Master-Class

Code samples for the Node.js Master Class
1.33k stars 1.21k forks source link

Why we are not sending headers on app.bindForms()? #35

Closed Luis-Enrique-Mora closed 2 years ago

Luis-Enrique-Mora commented 2 years ago

Why we are not sending the header in the first parameter, is undefined and should send the token as header it makes than authenticate fails

            app.client.request( undefined, path, method, queryStringObject, payload, function( statusCode, responsePayload ) {
            } );