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

Function _post_leo

tests/test_api_errors.py:66–71  ·  view source on GitHub ↗
(client, payload, content_type="application/json")

Source from the content-addressed store, hash-verified

64
65
66def _post_leo(client, payload, content_type="application/json"):
67 return client.post(
68 "/api/update_leo_satellites",
69 data=json.dumps(payload) if isinstance(payload, dict) else payload,
70 content_type=content_type,
71 )
72
73
74def _post_req(client, payload, content_type="application/json"):

Calls 1

postMethod · 0.80

Tested by

no test coverage detected