Has anyone used this sample code in local mode yet?
I got the code loaded and running using npm and when I tried the test with the provided 'flatJsonExample' file I get the error:
POST /simulate 400 0.840 ms - 1180
SyntaxError: Unexpected token f in JSON at position 0
the command I used was formatted thusly:
curl -XPOST -H "Content-type: application/json" -d 'flatJsonExample' 'localhost:3000/simulate'
I did move the flatJson file to the local folder...
I'm sure I'm doing something dumb but I just can't see it
Anybody out there using the local simulate??
I got the code loaded and running using npm and when I tried the test with the provided 'flatJsonExample' file I get the error:
POST /simulate 400 0.840 ms - 1180
SyntaxError: Unexpected token f in JSON at position 0
the command I used was formatted thusly:
curl -XPOST -H "Content-type: application/json" -d 'flatJsonExample' 'localhost:3000/simulate'
I did move the flatJson file to the local folder...
I'm sure I'm doing something dumb but I just can't see it
Anybody out there using the local simulate??