grunt-put

pipe a file to a http endpoint

Usage no npm install needed!

<script type="module">
  import gruntPut from 'https://cdn.skypack.dev/grunt-put';
</script>

README

grunt-put

Build Status NPM version Dependencies

Does exactly what it says on the tin. Pipe a file to a http endpoint. Simple stuff.

installation:

npm install --save grunt-put

usage:

grunt.initConfig({
  'put':{
    options: {
      filename: 'foo/myfile.txt'
      destination: 'http://myserver.com/foo/bar/myfile.txt'
    }
  }
});