How To Make Http Get Or Post Request With Curl Manually

In my coding process, i need to manually fire http request with both get or post method to test my web application, the easiest way to do this is to use curl command. this article will tell you how to do it.