Skip to content

Commit

Permalink
Merge pull request #5013 from keizer619/master
Browse files Browse the repository at this point in the history
Update endpoint url
  • Loading branch information
keizer619 authored Oct 20, 2023
2 parents 04ba164 + cd9edbb commit 78f7871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sequence-diagrams/sequence_diagrams.bal
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import ballerina/io;
public function main() returns error? {
// The diagram also has a lifeline for each client object parameter or variable in
// the initialization section, representing the remote system to which the client object is sending messages.
http:Client cl = check new ("https://www.mocky.io");
http:Client cl = check new ("https://run.mocky.io");

// Each remote method call on a client object is represented as a horizontal line
// between the lifeline of the worker making the call and the remote system.
string payload = check cl->get("/v2/5ae082123200006b00510c3d/");
string payload = check cl->get("/v3/7240398e-0435-4457-91b0-0c862f10563f/");

io:println(payload);
return;
Expand Down

0 comments on commit 78f7871

Please sign in to comment.