Execute microservice endpoint using HTTP REST
Project description
4logik python rest client
Utility package to call an enpoint generated by 4Logik
Installation
Use pip
pip install 4logik-python-rest-client
How to call a CSV endpoint
- Locate the input CSV file
- Identify the URL of the enpoint
- Identify the name of the data set of the response that contains the results
Example:
from py4logik_python_rest_client.endpoint_caller import call_csv_endpoint
input_csv_file = "/home/user1/incomingData.csv"
endpoint_url = "http://localhost:8080/RiskCalulationProcess"
dataset_name = "riskResult"
received_json_data = call_csv_endpoint(ms_url, input_csv_file, dataset_name)
print(received_json_data)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for 4logik-python-rest-client-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5202a1da0d3b3b81f2bbaedc43b148dcece48f1564e4e0b9407ffe87f876cbbb |
|
MD5 | 4075da4158d256c0e3527e9ed5dae626 |
|
BLAKE2b-256 | 692b241d0d1a9961ca9ba728d53e323422037fd483df0e6ba373154aba6a0767 |