Categorygithub.com/brianxor/tls-api
modulepackage
1.2.6
Repository: https://github.com/brianxor/tls-api.git
Documentation: pkg.go.dev

# README

CapSolver

🔒 TlsApi

A wrapper for tls-client library.

📝 Description

An API that forwards your HTTP requests using a custom TLS fingerprint.

🚀 Installation

  1. git clone https://github.com/brianxor/tls-api.git
  2. cd tls-api
  3. go run .

[!TIP] Configure the API server host and port through the .env file.

📚 Documentation

Endpoint: /tls/forward

Method: POST

Headers:

HeaderDescriptionOptionalDefault
x-tls-url🌐 Request URL.NoN/A
x-tls-method📮 Request method.NoN/A
x-tls-proxy🔄 Proxy. Formats: ip:port:user:pass, ip:portYesN/A
x-tls-profile👤 TLS client profile. Available profiles: See hereNoN/A
x-tls-client-timeout⏱️ HTTP client timeout.Yes30
x-tls-follow-redirects🔀 Follow redirects.Yestrue
x-tls-force-http1🔌 Force HTTP/1.1.Yesfalse
x-tls-insecure-skip-verify🚫 Skip SSL certificate verification.Yesfalse
x-tls-with-random-extension-order🎲 Randomize extensions order.Yestrue
x-tls-header-order📋 Header order. Format: String with headers key separated by commas (,)YesN/A
x-tls-pseudo-header-order📑 Pseudo header order. Format: String with headers key separated by commas (,)YesN/A

[!NOTE] If the request requires a body, you can simply enter it as the request body, not in the header.

🐛 Report Issues

Found a bug? Please open an issue.

By reporting an issue you help improve the project.

🙏 Credits

Special thanks to bogdanfinn for creating the awesome tls-client

# Packages

No description provided by the author