⚠️ This package is deprecated. v2 is the final release. No future versions will be published.
Skip to content

patch()

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

// ...
const user = api.resource("users/1").patch({
  surname: "Popper",
});
  • data: The data object that you want to patch by the resource.

INFO

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

Released under the MIT License.