robotpony / Presto

Simple tools for building RESTfull interfaces. This is an old and unmaintained project.
http://presto.napkinware.ca
Other
11 stars 3 forks source link

Put fix #105

Closed adam-patterson closed 10 years ago

adam-patterson commented 10 years ago

@robotpony

We were never using PUT! This fixes the problem and turns debugging and trace on as it makes diagnosing test failures easier.

adam-patterson commented 10 years ago

@robotpony

I had to update this PR as PUT was not passing POSTFIELD data (body data) the way presto was expecting. This SO article pointed me at a way to have curl pass the data as it would for a POST.