Re:Jobseekers Invited to “Apply Via API”
by mkopinsky on Friday February 03, 2012 @12:13AM
(#3545882)
Curl?? Real men use Telnet...
[ Parent
| on HN ]
Re:Jobseekers Invited to “Apply Via API”
by nitrogen on Friday February 03, 2012 @02:26AM
(#3546209)
Telnet is not the best thing to use when talking to non-telnet servers since it's not a raw protocol that just passes data back and forth. For example, telnet appends an ASCII NUL to any CR in the stream. Netcat gives a truly raw socket.
Re:Jobseekers Invited to “Apply Via API”
by mkopinsky on Tuesday February 07, 2012 @12:20AM
(#3560564)
Thanks, good to know.
compare:
$ telnet www.example.com 80
Trying 192.0.43.10...
Connected to www.example.com.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.example.com
HTTP/1.0 302 Found
Location: http://www.iana.org/domains/example/
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
^]
telnet> quit
Connection closed.
$
with: $ curl -i www.example.com
HTTP/1.0 302 Found
Location: http://www.iana.org/domains/example/
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
$
- Real men type less and do more.