View Source Code

Rivet

Call

Call a Rivet REST endpoint.

Request

  • method
    string
  • path
    string
  • body
    optional any value

Response

  • body
    any value

Usage

1. Install the module

2. Use this script

const data = await ctx.modules.rivet.call({
  // Request body
});