Wednesday, 15 July 2015

json - Rails won't process requests via curl in localhost -


When using and working with a browser,

when doing

  curl http: // localhost: 3000  

The response returns immediately without printing the response

  start 127.0 in the server. 0.1 for "/" 2015-03-17 12:03:49 +0200  

And that is it .. It seems that the request is not being processed

< P> Is anything clear to me?

Yes, I was seeing something obvious ..

Server Basic Authentication Uses the browser that was saved, but curl did not show any problem.

curl -i showed 401 error

  fixed via curl - Username: password Http: // localhost: 3000 /  

No comments:

Post a Comment