mirror of https://gitee.com/bigwinds/arangodb
fix json syntax by more clever quoting
This commit is contained in:
parent
fbb986386d
commit
a497797010
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue