Create req_with_payload.js
Create req_with_payload.js

Added example passing a payload object through the request
boneskull/node-coap,dmoranj/node-coap,cdvir1/node-coap,mcollina/node-coap,OJFord/node-coap,utopiaprince/node-coap