Vaghawan Ojha
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.json

Make sure you typed it in a fresh terminal. And let me know the result.

    Vaghawan Ojha

    Written by

    A drop of water you could see that dumbly awaits in vain to spill and be a stream:Alas there is a sunshine For More: http://www.thecreativeroad.com/blog/stories