A wrapper for tls-client library.
An API that forwards your HTTP requests using a custom TLS fingerprint.
git clone https://github.com/brianxor/tls-api.git
cd tls-api
go run .
Tip
Configure the API server host and port through the .env
file.
Header | Description | Optional | Default |
---|---|---|---|
x-tls-url |
🌐 Request URL. | No | N/A |
x-tls-method |
📮 Request method. | No | N/A |
x-tls-proxy |
🔄 Proxy. Formats: ip:port:user:pass , ip:port |
Yes | N/A |
x-tls-profile |
👤 TLS client profile. Available profiles: See here | No | N/A |
x-tls-client-timeout |
⏱️ HTTP client timeout. | Yes | 30 |
x-tls-follow-redirects |
🔀 Follow redirects. | Yes | true |
x-tls-force-http1 |
🔌 Force HTTP/1.1. | Yes | false |
x-tls-insecure-skip-verify |
🚫 Skip SSL certificate verification. | Yes | false |
x-tls-with-random-extension-order |
🎲 Randomize extensions order. | Yes | true |
x-tls-header-order |
📋 Header order. Format: String with headers key separated by commas (, ) |
Yes | N/A |
x-tls-pseudo-header-order |
📑 Pseudo header order. Format: String with headers key separated by commas (, ) |
Yes | N/A |
Note
If the request requires a body, you can simply enter it as the request body, not in the header.
Found a bug? Please open an issue.
By reporting an issue you help improve the project.
Special thanks to bogdanfinn for creating the awesome tls-client