Merge pull request #1966 from wcs1only/patch-1

Update pubsub-raw.md
This commit is contained in:
greenie-msft 2021-11-18 14:51:55 -08:00 committed by GitHub
commit cc262532d5
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)