Curl test your http server Basic usage12345678910111213141516171819202122# get /indexcurl http://localhost# Post datacurl -d "param1=value1¶m2=value2" -X POST http://localhost/data# Post filecurl -d "@data.txt" -X POST http://localhost/data# -H set headercurl -d '{"key1":"value1", "key2":"value2"}' -H "Content-Type: application/json" -X POST http://localhost/data# When you got error, try http1.1# curl: (92) HTTP/2 stream 1 was not closed cleanly: REFUSED_STREAM (err 7)curl --http1.1 http://localhost# When you got this, try -k# curl: (60) SSL certificate problem: self signed certificatecurl -k https://localhost# logincurl --http1.1 -k -d '{"username":"abc@abc.com","password":"123456","role":"user","type":"json"}' -X POST -H "Content-Type: application/json" https://localhost/auth Referencehttps://gist.github.com/subfuzion/08c5d85437d5d4f00e58 Newer MacOS Multiple User Run Brew Issue Older Vue.js devtools quick start