MoonScript与JSON
作者:糖果
1 | lapis = require "lapis" |
用curl进行测试:
1 | curl -H "Content-type: application/json" -d '{"value": "hello"}' 0.0.0.0:8080/json |
作者:糖果
1 | lapis = require "lapis" |
用curl进行测试:
1 | curl -H "Content-type: application/json" -d '{"value": "hello"}' 0.0.0.0:8080/json |