This repository contains an entrypoint script that demonstrates how to use the requests
library in Python to make HTTP requests to a remote server.
-
Clone the repository:
git clone https://github.com/bitmakerla/estela-requests-entrypoint.git
-
Change into the repository's directory:
cd estela-requests-entrypoint
-
(Optional) Create and activate a virtual environment:
python3 -m venv env source env/bin/activate
-
Install the dependencies:
pip install -r requirements.txt
To use the entrypoint script, follow these steps:
-
Open the
estela_requests_entrypoint.py
file. -
Modify the URL, request method, and headers according to your needs.
-
Run the script:
python estela_requests_entrypoint.py
This will make the HTTP request to the specified URL and print the response.