Python Form-Data POST Script

Job ID: 39903506

Budget: ₹12,500 – ₹37,500 INR

I need a small, clean Python script that sends form-encoded data to a specified HTTP endpoint. The target server expects classic form data, not JSON or XML, and no authentication layer is involved.

Key points
• Use the popular requests library (or urllib if you prefer) to perform a single POST call.
• Accept the URL and a sample payload from a simple config section or command-line arguments.
• Demonstrate the request in a short runnable example and print the response status code, headers, and body.
• Keep the code lightweight, commented, and ready to drop into a larger project.

This is a quick task: a working script, brief usage notes, and any dependencies listed in a requirements.txt file are all I need.
Related categories: Python PSD to HTML Software Development Scripting HTTP