Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Request Test (Node CLI App)
"dependencies": {
"sync-request": "^4.1.0"
#!/usr/bin/env node
const request = require('sync-request');
const objectCacheDropinRequest = request(
console.log( objectCacheDropinRequest.getBody().toString() );

This comment has been minimized.

Copy link

AaronHolbrook commented Nov 13, 2017

How do I install this?


This comment has been minimized.

Copy link
Owner Author

philipnewcomer commented Nov 23, 2017

@AaronHolbrook this is just a barebones Node CLI app. Drop the two files in an empty directory somewhere on your system, run npm install, and then ./request-test.js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.