diff --git a/.gitmodules b/.gitmodules index 689259e..4f7e64b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "Vendor/OCHamcrest"] path = Vendor/OCHamcrest - url = http://github.com/pivotal/OCHamcrest.git + url = https://github.com/hamcrest/OCHamcrest.git [submodule "Vendor/TouchJSON"] path = Vendor/TouchJSON url = http://github.com/mrevilme/TouchJSON.git diff --git a/Classes/LRRestyResource.m b/Classes/LRRestyResource.m index 1c98415..a59a9a2 100644 --- a/Classes/LRRestyResource.m +++ b/Classes/LRRestyResource.m @@ -133,7 +133,7 @@ - (void)post:(LRRestyResourceResponseBlock)responseBlock; - (void)post:(id)payload callback:(LRRestyResourceResponseBlock)responseBlock; { __block LRRestyResource *blockResource = [self retain]; - [restClient put:[URL absoluteString] payload:payload headers:nil withBlock:^(LRRestyResponse *response){ + [restClient post:[URL absoluteString] payload:payload headers:nil withBlock:^(LRRestyResponse *response){ responseBlock(response, blockResource); [blockResource release]; }]; diff --git a/Vendor/OCHamcrest b/Vendor/OCHamcrest index 5fc199f..d7c0f55 160000 --- a/Vendor/OCHamcrest +++ b/Vendor/OCHamcrest @@ -1 +1 @@ -Subproject commit 5fc199f2191dd9eb64fc051e0c6c660f9cec41a5 +Subproject commit d7c0f5509b0b7bbcdcbd44c925ec6d19b924e0ba