btnexus-node-python.btPostRequest module¶
A post request following the BTProtocol
-
class
btPostRequest.
BTPostRequest
(intent, params, accessToken, url, callback=None, errBack=None)[source]¶ Bases:
nexus.postRequest.PostRequest
A post request following the BTProtocol
-
send
(blocking=False, **kwargs)[source]¶ sending the request and executing the callback or errBack
- Parameters
blocking (Boolean) – decides if the call is blocking or threaded
kwargs – keyword arguments for the requests.post call see https://2.python-requests.org//en/v2.5.3/api/ - headers cant be customized for a btPostRequest because it is already used internally
-