Signed-off-by: Grant Timmerman <timmerman+devrel@google.com> Co-authored-by: Dustin Ingram <di@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| client.py | ||
| image_sample_server.py | ||
| image_sample_test.py | ||
| requirements.txt | ||
README.md
Image Payloads Quickstart
Install dependencies:
pip3 install -r requirements.txt
Start server:
python3 image_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