Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Running

Yuri Schimke edited this page Jul 18, 2018 · 4 revisions
$ okurl -h
NAME
        okurl - A curl for social apis.

SYNOPSIS
        okurl [...options...] [<urls>...]

OPTIONS
        -A <userAgent>, --user-agent <userAgent>
            User-Agent to send to server

        --alias-names
            Show Alias Names

        --authorize
            Authorize API

        --cache <cacheDirectory>
            Cache directory

        --clientcert <clientCert>
            Send Client Certificate

        --connect-timeout <connectTimeout>
            Maximum time allowed for connection (seconds)

        --curl
            Show curl commands

        -d <data>, --data <data>
            HTTP POST data

        --debug
            Debug

        --dns <ipmode>
            IP Preferences (system, ipv4, ipv6, ipv4only, ipv6only)

        -e <referer>, --referer <referer>
            Referer URL

        --frames
            Log HTTP/2 frames to STDERR

        -h, --help
            Display help information

        -H <headers>, --header <headers>
            Custom header to pass to server

        -i, --include
            Include protocol headers in the output

        -k, --insecure
            Allow connections to SSL sites without certs

        -L, --location
            Follow redirects

        -o <outputDirectory>, --output <outputDirectory>
            Output file/directory

        --opensc
            Send OpenSC Client Certificate

        --protocols <protocols>
            Protocols

        --read-timeout <readTimeout>
            Maximum time allowed for reading data (seconds)

        --resolve <resolve>
            DNS Overrides (HOST:TARGET)

        --show-credentials
            Show Credentials

        --socks <socksProxy>
            Use SOCKS proxy

        --token <token>
            Use existing Token for authorization

        -V, --version
            Show version number and quit

        -X <method>, --request <method>
            Specify request command to use

        --
            This option can be used to separate command-line options from the
            list of argument, (useful when arguments might be mistaken for
            command-line options

        <urls>
            Remote resource URLs
Clone this wiki locally