Created
October 4, 2018 11:26
-
-
Save theotherp/9c629e03850c0c7868b5cb07b493257c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void connectToAlthub() throws Exception { | |
OkHttpClient client = new OkHttpClient(); | |
Request request = new Request.Builder() | |
.url("https://api.althub.co.za") | |
.build(); | |
Response response = client.newCall(request).execute(); | |
assertTrue(response.isSuccessful()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment