Test Java network access: provide a URL and it returns the bare response body (HTML)

(no tags)

    Algorithmia Platform License
    · Internet Access

    This algorithm has Internet access.

    This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

    Run an Example

    <html><head><title>Object moved</title></head><body>
    <h2>Object moved to <a href="https://stackoverflow.com/">here</a>.</h2>

    Install & Use

    curl -X POST -d '"http://stackoverflow.com"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/jpeck/TestJavaIA/0.1.0