MCPcopy Create free account
hub / github.com/UndCover/PyramidStore / postJson

Method postJson

tutorial/base/spider.py:60–63  ·  view source on GitHub ↗
(self,url,json,headers={},cookies={})

Source from the content-addressed store, hash-verified

58 rsp.encoding='utf-8'
59 return rsp
60 def postJson(self,url,json,headers={},cookies={}):
61 rsp = requests.post(url,json=json,headers=headers,cookies=cookies)
62 rsp.encoding='utf-8'
63 return rsp
64 def html(self,content):
65 return etree.HTML(content)
66 def xpText(self,root,expr):

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected