{"id":22242394,"url":"https://github.com/manzanit0/httpex","last_synced_at":"2026-01-05T22:40:09.721Z","repository":{"id":127186513,"uuid":"139033671","full_name":"manzanit0/Httpex","owner":"manzanit0","description":"Apex library for HTTP callouts.","archived":false,"fork":false,"pushed_at":"2019-08-14T07:56:36.000Z","size":15,"stargazers_count":12,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T09:41:52.284Z","etag":null,"topics":["apex","http","rest-api","salesforce"],"latest_commit_sha":null,"homepage":null,"language":"Apex","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manzanit0.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-28T15:02:59.000Z","updated_at":"2024-10-12T15:03:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec2d16d3-cb6b-4517-8691-217eed26746d","html_url":"https://github.com/manzanit0/Httpex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2FHttpex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2FHttpex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2FHttpex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manzanit0%2FHttpex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manzanit0","download_url":"https://codeload.github.com/manzanit0/Httpex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245449498,"owners_count":20617185,"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":["apex","http","rest-api","salesforce"],"created_at":"2024-12-03T04:16:03.859Z","updated_at":"2025-10-14T12:11:55.174Z","avatar_url":"https://github.com/manzanit0.png","language":"Apex","readme":"# Httpex\n\nApex library for HTTP callouts\n\n## Getting started\n\nThe library was designed for ease of use. Depending on the authentication scheme used\nby the destination endpoint, it's as easy as picking the appropiate provider:\n\n#### BASIC example\n\n```apex\nString basicUser = \"myuser\"\nString basicPassword = \"12345\"\nString endpoint = \"https://website.com/api/v1/endpoint1\"\n\nBasicProvider provider = new BasicProvider(basicUser, basicPassword)\nHttpClient client = new HttpClient(provider);\nHttpResponse res = client.post(endpoint, \"{\\\"data\\\": \\\"something\\\"}\")\n```\n\n#### OAuth2 example\n\n```apex\nString authEndpoint = \"https://website.com/api/v1/auth\"\nString endpoint = \"https://website.com/api/v1/endpoint2\"\nMap\u003cString, String\u003e authParameters = new Map\u003cString, String\u003e{\n    'clientId' =\u003e 'clientId_value',\n    'clientSecret' =\u003e 'clientSecret_value'\n};\n\nOAuthProvider provider = new OAuthProvider(authUrl, authParameters);\nHttpClient client = new HttpClient(provider);\nHttpResponse res = client.get(endpoint);\n```\n\n## Deployment\n\n\u003ca href=\"https://githubsfdeploy.herokuapp.com\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Deploy to Salesforce\" src=\"https://raw.githubusercontent.com/afawcett/githubsfdeploy/master/deploy.png\"\u003e\n\u003c/a\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fhttpex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanzanit0%2Fhttpex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanzanit0%2Fhttpex/lists"}