Update pubsub-raw.md

This commit is contained in:
Charlie Stanley 2021-11-17 19:28:43 -08:00 committed by GitHub
parent 7afbc5dc06
commit 05b67a4311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,7 @@ with DaprClient() as d:
pubsub_name='pubsub',
topic='TOPIC_A',
data=json.dumps(req_data),
metadata=(
('rawpayload', 'true'),
)
publish_metadata={'rawpayload': 'true'}
)
# Print the request
print(req_data, flush=True)