{"id":19114472,"url":"https://github.com/pinebit/http-request-proxy","last_synced_at":"2025-07-29T01:05:51.785Z","repository":{"id":90867417,"uuid":"101424605","full_name":"pinebit/http-request-proxy","owner":"pinebit","description":"A very simple AJAX proxy written in PHP","archived":false,"fork":false,"pushed_at":"2019-08-30T15:55:28.000Z","size":9,"stargazers_count":12,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-09T13:09:44.460Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pinebit.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,"zenodo":null}},"created_at":"2017-08-25T16:58:57.000Z","updated_at":"2024-02-19T11:21:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a37daaa2-7d89-4274-ba67-fb81ba6744d1","html_url":"https://github.com/pinebit/http-request-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pinebit/http-request-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fhttp-request-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fhttp-request-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fhttp-request-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fhttp-request-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pinebit","download_url":"https://codeload.github.com/pinebit/http-request-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pinebit%2Fhttp-request-proxy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267612958,"owners_count":24115559,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09T04:42:19.937Z","updated_at":"2025-07-29T01:05:51.770Z","avatar_url":"https://github.com/pinebit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SIMPLE HTTP REQUEST PROXY (in PHP)\n\nThis is a simple implementation of HTTP request (AJAX) proxy script which you can add to your webserver.\n\nThe purpose of this script is simple: proxy all HTTP requests being made from one domain to another. This is in particular useful to avoid CORS issues when you cannot make HTTP requests to a certain server.\n\n## Usage\n\nFirst of all, please examine `.htaccess` file contents. You will need to add a rewrite rule to your server's .htaccess file, similar to the provided example.\nSecondly, you need to put the two php files into the server root.\nFinally, you need to edit `proxy.php` to specify your target HTTP API server as well as other options as needed. All configurable settings are on top of the file.\n\n## Features\n\n* The script uses vanilla PHP, should work with php 5.x,\n* Currently supports GET and POST requests, but can be easily extended to support other HTTP methods,\n* Copies all cookies to/from a request,\n* HTTPS ready.\n\n## Contents\n\n* `proxy.php` is the main script, it is self-descriptive,\n* `http_build_url.php` a helper function borrowed from https://github.com/jakeasmith/http_build_url,\n* `.htaccess` a sample server configuration that feeds HTTP requests to `proxy.php` script.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fhttp-request-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpinebit%2Fhttp-request-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpinebit%2Fhttp-request-proxy/lists"}