An open API service indexing awesome lists of open source software.

https://github.com/NanduBit/Proxy

An Proxy API
https://github.com/NanduBit/Proxy

Last synced: 11 months ago
JSON representation

An Proxy API

Awesome Lists containing this project

README

          

Proxy API

A fast, reliable, and developer-friendly **HTTPS Proxy API** designed to bypass CORS restrictions and forward requests with full HTTP method support.

---

## 📦 Features

- 🌍 Bypass **CORS** easily
- ⚡ Supports **GET**, **POST**, **PUT**, **DELETE**, etc.
- 🔐 Custom headers and full body forwarding
- 🚀 Lightweight Express.js backend
- 🧩 Simple and elegant UI for quick testing

---

## 📖 How to Use

Send any HTTPS request to `/api` with a target URL and optional data.

---

### 🟨 Node.js (Axios) – Default Example

```js
const axios = require("axios");

axios.post("https://proxyapi.soon.it/api", {
url: "https://jsonplaceholder.typicode.com/posts",
data: {
title: "foo",
body: "bar",
userId: 1,
},
})
.then(response => console.log(response.data))
.catch(error => console.error(error));
```

---

## 📂 Other Examples

🟦 JavaScript (Fetch)

```js
fetch("https://proxyapi.soon.it/api", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
url: "https://jsonplaceholder.typicode.com/posts",
data: {
title: "foo",
body: "bar",
userId: 1,
},
}),
})
.then((res) => res.json())
.then(console.log);
```

🐍 Python (requests)

```python
import requests

res = requests.post(
"https://proxyapi.soon.it/api",
json={
"url": "https://jsonplaceholder.typicode.com/posts",
"data": {
"title": "foo",
"body": "bar",
"userId": 1
}
}
)

print(res.json())
```

💻 cURL

```bash
curl -X POST 'https://proxyapi.soon.it/api' \
-H "Content-Type: application/json" \
-d '{
"url": "https://jsonplaceholder.typicode.com/posts",
"data": {
"title": "foo",
"body": "bar",
"userId": 1
}
}'
```

---

## 🛠 Request Structure

| Field | Type | Description |
|------------|--------|-------------------------------------|
| `url` | String | The full URL to proxy to (required) |
| `data` | Object | Body content for `POST/PUT` methods |
| Headers | Any | Forwarded automatically |

> Works with any HTTPS API!

---
> [!WARNING]
> This is a public open proxy and **should not be used to forward sensitive credentials** without additional security layers.
> This proxy should not be used for any purpose which is deemed not fit by the maintainers(eg: Malicious Use... etc)

---

## 👨‍💻 Creator

Made with ❤️ by [@NanduWasTaken](https://github.com/NanduWasTaken)

> 🔧 Made by developers, for developers.
> Open-source and free to use forever ✌️