{"id":21008080,"url":"https://github.com/caged/httpriot","last_synced_at":"2026-03-16T04:01:30.060Z","repository":{"id":507435,"uuid":"134946","full_name":"caged/httpriot","owner":"caged","description":"Simple HTTP Rest Library for iPhone and Cocoa projects.","archived":false,"fork":false,"pushed_at":"2017-04-17T08:29:23.000Z","size":2717,"stargazers_count":279,"open_issues_count":4,"forks_count":19,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-31T14:57:42.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/ognen/httpriot/tree/","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/caged.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-02-22T21:47:31.000Z","updated_at":"2025-02-06T01:13:13.000Z","dependencies_parsed_at":"2022-08-16T10:25:27.586Z","dependency_job_id":null,"html_url":"https://github.com/caged/httpriot","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fhttpriot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fhttpriot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fhttpriot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caged%2Fhttpriot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caged","download_url":"https://codeload.github.com/caged/httpriot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252963764,"owners_count":21832569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T09:11:24.494Z","updated_at":"2026-03-16T04:01:29.990Z","avatar_url":"https://github.com/caged.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"#HTTPRiot - Easily Consume REST Services\n\nHTTPRiot is a simple HTTP library that works on the iPhone and Cocoa Apps.  It tries to abstract as much as possible \nin the beginning.  This means you don't spend a lot of time up front setting things up and staying on a golden path, but \nthis also means it makes no assumptions about the data returned.  It will convert JSON and XML automatically to NSDictionary or NSArray objects, \nallowing you to do what you want to with the data, but it's up to you to create your own models if you wish.\n\nIt offers a lot of flexibility with the data returned, but the tradeoff is that you must know what to do with \nthe data returned because if you initiate two requests from one model both will be routed through the same \ndelegate methods that handle responses/errors/etc.\n\n## Documentation and Samples:\n\n* [Online Documentation](http://labratrevenge.com/httpriot)\n* [Support \u0026 Community](http://justin.tenderapp.com)\n* Sample app and server included with the source\n\n## Quick Examples\n    // GET\n    [model getPath:@\"/foo/bar.json\" withOptions:nil object:nil];\n\n    // POST\n    NSDictionary *opts = [NSDictionary dictionaryWithObject:[obj JSONRepresentation] forKey:@\"body\"];\n    [model postPath:@\"/foo\" withOptions:params object:nil];\n\n    // PUT\n    NSDictionary *opts = [NSDictionary dictionaryWithObject:[obj JSONRepresentation] forKey:@\"body\"];\n    [model putPath:@\"/foo/1\" withOptions:params object:nil];\n\n    // DELETE\n    [model deletePath:@\"/foo/1\" withOptions:nil object:nil];\n\n##Similar Projects\nHTTPRiot was inspired by the \u003ca href=\"http://github.com/jnunemaker/httparty/tree/master\"\u003ehttparty\u003c/a\u003e Ruby library.\nThere are also numerous other HTTP libraries for Cocoa:\n\n* [ASIHTTPRequest](http://github.com/pokeb/asi-http-request/tree/master)\n* [Three20's TTURLRequest](http://github.com/joehewitt/three20/tree/master)\n* [ObjectiveResource](http://github.com/yfactorial/objectiveresource/tree/master)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fhttpriot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaged%2Fhttpriot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaged%2Fhttpriot/lists"}