HTTP Request Activity for mogy.
In your mogy project, install the dependency using npm :
$ npm install mogy-http --save
To register the http
activity to Amazon Simple Workflow :
$ mogy register
The config for this activity is optional. It allows to override request options for all http activities.
In your mogy environment config file, under the activities
key, add :
"http": {
/*"proxy": {
}*/
}
Cf https://github.com/request/request to see the options.
activity({
name: 'my-task',
activity: 'http',
input: {
method: 'POST',
uri: 'http://requestb.in/1bhxg1v1',
form:{
key:'value'
}
}
})