Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    restez 0.3.2

    Download button

    No screenshots available
    Downloads: 503  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chris Miles | More programs
    Perl Artistic License / FREE
    April 1st, 2010, 03:08 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    restez description

    A RESTful HTTP command-line client and library.

    restez is a RESTful HTTP command-line client and library.

    Examples:

    Fetch a JSON representation of a resource:

    $ restez -v GET http://localhost/app/resource/3 --accept application/json
    -- Response Headers --
    status: 200
    content-length: 61
    content-location: http://localhost/app/resource/3
    server: Apache/2.0.63 (Unix) DAV/2 mod_wsgi/2.3 Python/2.5.2
    pragma: no-cache
    cache-control: no-cache
    date: Thu, 08 Jan 2009 12:14:55 GMT
    content-type: application/json; charset=utf-8
    -- Response Body --
    {"timestamp": null, "product": "0", "user": "3", "result": 0}


    Post a JSON request to a web app:

    $ restez -v POST http://localhost/api/index data.json
    -- Response Headers --
    status: 200
    content-length: 59
    server: CherryPy/2.3.0
    date: Thu, 08 Jan 2009 11:56:28 GMT
    content-type: application/json
    -- Response Body --
    {"status": "success", "version": "1.2.2"}



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    RESTful client | Python library | RESTful | HTTP | Python

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM