Closed bcoe closed 10 years ago
I've added support for form parameters to the request method:
the old API contract still works:
api.request('GET', '/service/hidden/version/10/backend', function(err, response) { })
You can now also pass in the form parameters:
api.request('PUT', '/service/hidden/version/10/backend/' + encodeURIComponent('foo host'), { auto_loadbalance: '1' }, function (err, res) { })
If you're alright with these changes, mind pinging me when you've published a new version of the library to npm?
Excellent! Thank you for the clean PR.
@bcoe Version 1.1.0 has been published.
1.1.0
I've added support for form parameters to the request method:
the old API contract still works:
You can now also pass in the form parameters:
If you're alright with these changes, mind pinging me when you've published a new version of the library to npm?