MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / reqObjPOST

Method reqObjPOST

src/node-binance-api.ts:522–540  ·  view source on GitHub ↗
(url: string, data: Dict = {}, method = 'POST', key: string)

Source from the content-addressed store, hash-verified

520 }
521
522 reqObjPOST(url: string, data: Dict = {}, method = 'POST', key: string) {
523 return {
524 url: url,
525 form: data,
526 method: method,
527 family: this.Options.family,
528 localAddress: this.Options.localAddress,
529 timeout: this.Options.recvWindow,
530 forever: this.Options.keepAlive,
531 qsStringifyOptions: {
532 arrayFormat: 'repeat'
533 },
534 headers: {
535 'User-Agent': this.userAgent,
536 'Content-type': this.contentType,
537 'X-MBX-APIKEY': key || ''
538 }
539 };
540 }
541
542 async publicRequest(url: string, data: Dict = {}, method: HttpMethod = 'GET') {
543 const query = this.makeQueryString(data);

Callers 1

signedRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected