Skip to content
This repository

A basic JSON-RPC implementation for your Flask-powered sites

tree: 03e13d2f07

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.rst

Flask JSON-RPC

A basic JSON-RPC implementation for your Flask-powered sites based on django-json-rpc.

Running

$ pip install Flask
$ python run_test.py
 * Running on http://0.0.0.0:5000/

Testing

$ curl -i -X POST -d '{"jsonrpc": "2.0", "method": "App.index", "params": {}, "id": "1"}' http://localhost:5000/api
HTTP/1.0 200 OK
Content-Type: application/json
Content-Length: 77
Server: Werkzeug/0.8.3 Python/2.7.3
Date: Fri, 14 Dec 2012 19:26:56 GMT

{
  "jsonrpc": "2.0",
  "id": "1",
  "result": "Welcome to Flask JSON-RPC"
}

Dependecies

Project Information

Author: Cenobit Technologies, Inc.
Version: v0.0.1 of 2012/12/14
License: New BSD License
Something went wrong with that request. Please try again.