feat(fixes): for frappeclient post_api(POST) request being redirected to GET request on calling server
This commit is contained in:
parent
96a45473ab
commit
d73428df91
1 changed files with 1 additions and 1 deletions
|
|
@ -296,7 +296,7 @@ class FrappeClient(object):
|
|||
def post_api(self, method, params=None):
|
||||
if params is None:
|
||||
params = {}
|
||||
res = self.session.post(self.url + "/api/method/" + method + "/",
|
||||
res = self.session.post(self.url + "/api/method/" + method,
|
||||
params=params, verify=self.verify, headers=self.headers)
|
||||
return self.post_process(res)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue