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

Function _post_gs

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

Source from the content-addressed store, hash-verified

56
57
58def _post_gs(client, payload, content_type="application/json"):
59 return client.post(
60 "/api/update_ground_stations",
61 data=json.dumps(payload) if isinstance(payload, dict) else payload,
62 content_type=content_type,
63 )
64
65
66def _post_leo(client, payload, content_type="application/json"):

Calls 1

postMethod · 0.80

Tested by

no test coverage detected