MCPcopy Create free account
hub / github.com/Tong89/smartNode / _post_json

Function _post_json

tests/test_api.py:74–79  ·  view source on GitHub ↗
(client, url: str, payload: dict)

Source from the content-addressed store, hash-verified

72
73
74def _post_json(client, url: str, payload: dict):
75 return client.post(
76 url,
77 data=json.dumps(payload),
78 content_type="application/json",
79 )
80
81
82# ---------------------------------------------------------------------------

Calls 1

postMethod · 0.80

Tested by

no test coverage detected