各种json-rpc Client的request

 

POST /app/service HTTP/1.1

Host: 127.0.0.1:8080

User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.9.0.17) Gecko/2010010604 Ubuntu/9.04 (jaunty) Firefox/3.0.17

Accept: application/json

Accept-Language: zh-cn,zh;q=0.5

Accept-Encoding: gzip,deflate

Accept-Charset: gb2312,utf-8;q=0.7,*;q=0.7

Keep-Alive: 300

Connection: keep-alive

Content-Type: application/json; charset=UTF-8

Referer: http://127.0.0.1:8080/test/json-xml-rpc.html

Content-Length: 66

Pragma: no-cache

Cache-Control: no-cache

 

{"version":"1.1","method":"system.listMethods","id":1,"params":[]}

Leave a Reply

Your email address will not be published.