UNPKG

servertap-js

Version:

A TypeScript library for working with the ServerTap API

7 lines (6 loc) 302 B
import { Base } from "../base"; export class PlaceHolderApi extends Base { replace(message: string, uuid: string): Promise<string> { return this.request(`/placeholder/replace`, { method: "POST", body: `message=${message},uuid=${uuid}` }, "application/x-www-form-urlencoded"); } }