I edited out the specific IPs and server names, but here is the output:
[user@server ~]$ [user@server ~]$ curl -vvv "
http://url" -f ok
-bash: [user@server: command not found
[user@server ~]$ * About to connect() tohost port 80 (#0)
-bash: syntax error near unexpected token `('
[user@server ~]$ * Trying ip_address... connected
-bash: Accept:: command not found
[user@server ~]$ * Connected tohost (ip_address) port 80 (#0)
-bash: syntax error near unexpected token `('
[user@server ~]$ > GET / HTTP/1.1
-bash: /: is a directory
[user@server ~]$ > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
-bash: syntax error near unexpected token `('
[user@server ~]$ > Host:host
-bash:host: command not found
[user@server ~]$ > Accept: */*
-bash: */*: No such file or directory
[user@server ~]$ >
-bash: syntax error near unexpected token `newline'
[user@server ~]$ < HTTP/1.1 302 Found
-bash: HTTP/1.1: No such file or directory
[user@server ~]$ < Cache-Control: private
-bash: Cache-Control:: No such file or directory
[user@server ~]$ < Content-Type: text/html; charset=utf-8
-bash: Content-Type:: No such file or directory
[user@server ~]$ < Location: /Redirect?ReturnUrl=%2f
-bash: Location:: No such file or directory
[user@server ~]$ < Server: Microsoft-IIS/8.0
-bash: Server:: No such file or directory
[user@server ~]$ < X-AspNetMvc-Version: 5.2
-bash: X-AspNetMvc-Version:: No such file or directory
[user@server ~]$ < X-AspNet-Version: 4.0.30319
-bash: X-AspNet-Version:: No such file or directory
[user@server ~]$ < X-Powered-By: ASP.NET
-bash: X-Powered-By:: No such file or directory
[user@server ~]$ < Date: Wed, 18 Apr 2018 18:30:07 GMT
-bash: Date:: No such file or directory
[user@server ~]$ < Content-Length: 140
-bash: Content-Length:: No such file or directory
[user@server ~]$ <
-bash: syntax error near unexpected token `newline'
[user@server ~]$ <html><head><title>Object moved</title></head><body>
-bash: syntax error near unexpected token `<'
[user@server ~]$ <h2>Object moved to <a href="/Redirect?ReturnUrl=%2f">here</a>.</h2>
-bash: syntax error near unexpected token `newline'
[user@server ~]$ </body></html>
-bash: syntax error near unexpected token `<'
[user@server ~]$ * Connection #0 to hosthost left intact
-bash: Accept:: command not found
[user@server ~]$ * getaddrinfo(3) failed for ok:80
-bash: syntax error near unexpected token `('
[user@server ~]$ * Couldn't resolve host 'ok'
> * Closing connection #1
> curl: (6) Couldn't resolve host 'ok'
-bash: Accept:: command not found
[user@server ~]$ * Closing connection #0
-bash: Accept:: command not found
[user@server ~]$ curl -vvv "
http://url" -f ok
* About to connect() tohost port 80 (#0)
* Trying ip_address... connected
* Connected tohost (ip_address) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.27.1 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host:host
> Accept: */*
>
< HTTP/1.1 302 Found
< Cache-Control: private
< Content-Type: text/html; charset=utf-8
< Location: /Redirect?ReturnUrl=%2f
< Server: Microsoft-IIS/8.0
< X-AspNetMvc-Version: 5.2
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< Date: Wed, 18 Apr 2018 18:32:18 GMT
< Content-Length: 140
<
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="/Redirect?ReturnUrl=%2f">here</a>.</h2>
</body></html>
* Connection #0 to hosthost left intact
* getaddrinfo(3) failed for ok:80
* Couldn't resolve host 'ok'
* Closing connection #1
curl: (6) Couldn't resolve host 'ok'
* Closing connection #0