diff --git a/document/memo.txt b/document/memo.txt index f68102d..fe27c43 100644 --- a/document/memo.txt +++ b/document/memo.txt @@ -5,5 +5,8 @@ RESTで作られたAPIの一覧 https://ja.wikipedia.org/wiki/Representational_State_Transfer +Statelessに関する記事 +https://www.glamenv-septzen.net/view/1350#idbb2951 + [1]Uri Klein and Kedar S. Namjoshi. (2011) "Formalization and Automated Verification of RESTful Behavior," LNCS 6806, pp. 541–556, 2.3 3. Safety and idempotence. \ No newline at end of file diff --git a/src/main/Main.java b/src/main/Main.java index c25d191..7e14348 100644 --- a/src/main/Main.java +++ b/src/main/Main.java @@ -5,7 +5,7 @@ import testcase.youtube.*; public class Main { - static final String token = "ya29.GluNBnp3HTt5I_GC1L8f9RByhfxJzBnbn5HPMzaGIvzyCux9tbE94vPxMEQx5dTBP-VAaUuTYUmFYysOlhAmQYWYLULjRBCkJlPWe_86wp2D6_ltheWbjG3gFx8f"; + static final String token = "ya29.GlyOBpWpkhgDI8W6y668-L2W5Q0PcJHf1fIfvDjeh6i3T65_7KRQEegpahxdWeDViAyuH-OMbu8-UDPiVZXs4XmZXX5O22hk0zY7PtVzrp9bM28L_mTSUCQpFjPoxA"; @SuppressWarnings("unused") public static void main(String[] args) { @@ -13,7 +13,7 @@ new TestLogoutPOSTCactus("9FeLF6LC8lwAWRD2zMoSxOpTE5vbuJdpuGVcx8NpW0VGbg4cDkDCDshFW5Zl9LQ0"), new TestPUTCactus("f", "f"), new TestDELETECactus("IxbvugVYRW9e") }; TestYouTube[] youtube = { new TestGETYouTube(token), new TestPOSTYouTube(token), new TestPUTYouTube(token), - new TestDELETEYouTube(token, "PLCwNa5MZdBSq9ty9AidV-b3lt3FGn1h6Q") }; + new TestDELETEYouTube(token, "PLCwNa5MZdBSpJMEkjoHVU2mqfjk4ApmZH") }; TestTwitter[] twitter = { new TestGETListsTwitter(), new TestPOSTcreateTwitter(), new TestPOSTdestroyTwitter("1082884549791514624"), new TestPOSTupdateTwitter("1082884549791514624", "updated") };