sdk-python/samples/http-image-cloudevents
Curtis Mason be802470da
swapped args for from_http (#110)
Signed-off-by: Curtis Mason <cumason@bu.edu>
2020-08-17 17:38:35 -04:00
..
README.md Release v1.0.0 (#89) 2020-08-10 19:47:10 -07:00
client.py Removed _http suffix from http_methods (#108) 2020-08-17 16:47:33 -04:00
image_sample_server.py swapped args for from_http (#110) 2020-08-17 17:38:35 -04:00
image_sample_test.py swapped args for from_http (#110) 2020-08-17 17:38:35 -04:00
requirements.txt Release v1.0.0 (#89) 2020-08-10 19:47:10 -07:00

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