mirror of https://github.com/dapr/docs.git
Update pubsub-raw.md
This commit is contained in:
parent
7afbc5dc06
commit
05b67a4311
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue