Is there any method available to load the requests from file using curl or any other command and issue that request(GET/POST). Let me explain with example. I have a request stored in file like below -

```
GET /robots.txt HTTP/1.1
Host: example.com
Cookie: somecookie
User-Agent: any user agent

```

I want to pass this file in curl so that the curl issues a request to the endpoint. Is there any other method available to do this ?