Hacker News new | past | comments | ask | show | jobs | submit login

I hoped this would work:

    $ telnet cueup.com 80
    GET /jobs HTTP/1.1
    User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
    Host: cueup.com
    Accept: */*
    <blank line>
but it redirects to Location: https://www.cueup.com/jobs, so this is necessary:

    $ openssl s_client -connect www.cueup.com:443
    GET /jobs HTTP/1.1
    User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8r zlib/1.2.5
    Host: www.cueup.com
    Accept: */*
    <blank line>
And there you go (^D to stop).

Unfortunately things get munged up since it's using Transfer-Encoding: chunked, so there's the chunk size and blank line in between each content line.

Bonus points for cueup.com if they update the thing to not chunk it if User-Agent: telnet (I did test this and it doesn't work)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: