MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / post

Method post

service/esiAccess.py:309–312  ·  view source on GitHub ↗
(self, ssoChar, endpoint, json, **kwargs)

Source from the content-addressed store, hash-verified

307 return self._after_request(self._session.get("{}{}?datasource={}".format(self.esi_url, endpoint, self.server_name.lower())))
308
309 def post(self, ssoChar, endpoint, json, **kwargs):
310 self._before_request(ssoChar)
311 endpoint = endpoint.format(**kwargs)
312 return self._after_request(self._session.post("{}{}?datasource={}".format(self.esi_url, endpoint, self.server_name.lower()), data=json))
313
314 def delete(self, ssoChar, endpoint, **kwargs):
315 self._before_request(ssoChar)

Callers 2

postFittingMethod · 0.95
token_callMethod · 0.45

Calls 2

_before_requestMethod · 0.95
_after_requestMethod · 0.95

Tested by

no test coverage detected