If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

  • 0
    dirkk0  8 years ago


    To PUT (=update) something, you need to call:
    curl -i -H "Accept: application/json" -X PUT --user user:pass -d "f_entry=something newest"
    with id=1 being an existing entry.

Commented on:

Example of RESTful API with web2py @request.resttful feature. The web2py user Dirk K posted this recipe in the mail list.

Hosting graciously provided by:
Python Anywhere