Skip to content

insert()

ts
import api from "axe-api-client";

// ...
const user = api.resource("users").insert({
  name: "Karl",
  surname: "Popper"
})
  • data: The data object that you want to insert.

INFO

You should call the resource(url: string) function before using this function.

Released under the MIT License.