sdk-python/samples/http-json-cloudevents/README.md

322 B

Quickstart

Install dependencies:

pip3 install -r requirements.txt

Start server:

python3 json_sample_server.py

In a new shell, run the client code which sends a structured and binary cloudevent to your local server:

python3 client.py http://localhost:3000/

Test

pytest