Change requester to GET by default

This commit is contained in:
Liam Newman
2019-11-25 18:05:18 -08:00
parent 1b55b5fa3c
commit 3296cef02d
47 changed files with 252 additions and 180 deletions

View File

@@ -16,7 +16,7 @@ public class GHCreateRepositoryBuilder {
GHCreateRepositoryBuilder(GitHub root, String apiUrlTail, String name) {
this.root = root;
this.apiUrlTail = apiUrlTail;
this.builder = new Requester(root);
this.builder = root.retrieve().method("POST");
this.builder.with("name", name);
}