Skip to content

Commit

Permalink
Update first-client.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jlouvel authored Nov 16, 2024
1 parent 75b63be commit ecee5ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ output it in the JVM console:


<pre class="language-java"><code class="language-java">// Outputting the content of a Web page
new ClientResource("http://restlet.com").get().write(System.out);
new ClientResource("https://restlet.talend.com").get().write(System.out);
</code></pre>


Expand All @@ -38,7 +38,7 @@ The next example sets some preferences in your client call, like a
referrer URI:

<pre class="language-java"><code class="language-java">// Create the client resource
ClientResource resource = new ClientResource("http://restlet.com");
ClientResource resource = new ClientResource("https://restlet.talend.com");

// Customize the referrer property
resource.setReferrerRef("http://www.mysite.org");
Expand Down

0 comments on commit ecee5ee

Please sign in to comment.