1234567891011121314151617 |
- /**
- * Parses body object based on mode of body and returns code snippet
- *
- * @param {Object} requestbody - json object for body of request
- * @param {String} indentString - string for indentation
- * @param {Boolean} trimBody - indicates whether to trim body fields or not
- * @param {String} contentType Content type of the body being sent
- */
- export function parseBody(requestbody: any, indentString: string, trimBody: boolean, contentType: string): string;
- /**
- * parses header of request object and returns code snippet of nodejs native to add header
- *
- * @param {Object} request - Postman SDK request object
- * @param {String} indentString - indentation required in code snippet
- * @returns {String} - code snippet of nodejs native to add header
- */
- export function parseHeader(request: any, indentString: string): string;
|