1
0
Fork 0

fix json syntax by more clever quoting

This commit is contained in:
Willi Goesgens 2015-08-11 14:43:14 +02:00
parent fbb986386d
commit a497797010
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ If you change the example slightly, then a JSON object will be delivered.
| url: "/hello/json",
| content: {
| contentType: "application/json",
| body: "{ 'hello' : 'world'}"
| body: '{"hello" : "world"}'
| }
});
require("internal").reloadRouting()