• Sends json to the server as POST request and expects text in return

    Parameters

    • url: string
    • bodyData: object
    • Optional ok: ((txt: string, httpStatus?: number, serverTime?: Date) => void)
        • (txt: string, httpStatus?: number, serverTime?: Date): void
        • Parameters

          • txt: string
          • Optional httpStatus: number
          • Optional serverTime: Date

          Returns void

    • Optional failed: ((errInfo: string, httpStatus?: number, serverTime?: Date) => void)
        • (errInfo: string, httpStatus?: number, serverTime?: Date): void
        • Parameters

          • errInfo: string
          • Optional httpStatus: number
          • Optional serverTime: Date

          Returns void

    • timeout: number = ...

    Returns void

Generated using TypeDoc