blast1.gif

next up previous index
Next: Using lynx with URLAPI Up: More examples Previous: More examples   Index

Using telnet with URLAPI

Sending the ''CMD=Info'' request to $QBl_{A}st$ :

    $ telnet www.ncbi.nlm.nih.gov 80
    Trying 130.14.22.107...
    Connected to www.ncbi.nlm.nih.gov.
    Escape character is '^]'.
    POST /blast/Blast.cgi HTTP/1.0
    Content-type: application/x-www-form-urlencoded
    Connection: Keep-Alive
    User-Agent: qblastapp
    Content-Length: 10

    CMD=Info
    HTTP/1.0 200 OK
    Date: Thu, 29 Jun 2000 02:33:42 GMT
    Server: Apache/1.3.9 (Unix) mod_fastcgi/2.2.2 mod_ssl/2.4.0....
    IPConnectionLimit/1.0
    Content-Type: text/html

    <html>
    22

    # exlclusive databases

    nr              1       TRUE
    nr              2       FALSE
    .....



blast-help@ncbi.nlm.nih.gov