Skip to content

[Feature Request]: CLI supported #27

Open
@thewebscraping

Description

@thewebscraping

Describe the feature / enhancement and how it would improve things

CLI support like cURL.

Describe how your proposal will work, with code and/or pseudo-code

CLI Command like cURL:

tls_requests --location 'https://httpbin.org/get' --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'

Terminal response:

{
  "args": {}, 
  "headers": {
    "Accept": "*/*", 
    "Host": "httpbin.org", 
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36", 
    "X-Amzn-Trace-Id": "Root=1-67cd0220-7706818a6db29e8f684685b9"
  }, 
  "origin": "xxx", 
  "url": "https://httpbin.org/get"
}

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions