Jul 10, 2017 · 1 min read
This is weird Ba Stian, I guess the curl request is wrong perhaps, since the error is weird it’s telling can not resolve host ‘user1’ and ‘num’. I suppose you’re using Recommendation template.
curl -H "Content-Type: application/json" \
-d '{ "user": "user1", "num": 4 }' http://localhost:8000/queries.jsonMake sure you typed it in a fresh terminal. And let me know the result.
