Commit 386366ea authored by Ivan Tyagov's avatar Ivan Tyagov

Adjust for wendelin-standalone instance.

parent 1ce1f2aa
......@@ -7,11 +7,11 @@ Sample Python script to ingest into a Wendelin instance.
import msgpack
import requests
# configure for your instance parameters below
reference = ""
username = ""
password = ""
ingestion_policy_url = "https://%s:%s@....../erp5/portal_ingestion_policies/...../ingest" %(username, password)
# configure for your instance
reference = "test-1"
username = "zope"
password = "insecure"
ingestion_policy_url = "http://%s:%s@localhost:20000/erp5/portal_ingestion_policies/test-1/ingest" %(username, password)
data = {"msg": 'Hello World! Zdravej Sviat!'}
payload = msgpack.packb([0, data], use_bin_type=True)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment