Skip to content

Web Scraping

References

Formdata & payload

bash
POST /some-path HTTP/1.1
Content-Type: application/x-www-form-urlencoded

# output
foo=bar&name=John
bash
POST /some-path HTTP/1.1
Content-Type: application/json

# output
{ "foo" : "bar", "name" : "John" }

Tools

  • curlconverter - convert curl commands to Python, JavaScript, PHP, R, Go, Rust, Dart, JSON, Ansible, Elixir.
  • ratelimiter - Simple Python module providing rate limiting.

Resources