diff --git a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/connections/CharactersFragmentConnection.java b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/connections/CharactersFragmentConnection.java index 6ea7a4c..ba4a467 100644 --- a/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/connections/CharactersFragmentConnection.java +++ b/app/src/main/java/org/ntlab/radishforandroidstudio/cactusClient/connections/CharactersFragmentConnection.java @@ -5,7 +5,11 @@ public class CharactersFragmentConnection extends HttpAsyncConnection { public CharactersFragmentConnection() { - super("http://nitta-lab-www.is.konan-u.ac.jp:8080/CactusServer/rest/Instances"); + super("http://nitta-lab-www.is.konan-u.ac.jp:8080/CactusServer/rest/Instances/"+"変数"+"/characters"); + } + + public CharactersFragmentConnection(String instanceId) { + super("http://nitta-lab-www.is.konan-u.ac.jp:8080/CactusServer/rest/Instances/"+ instanceId +"/characters"); } }