RequestBin with an Event API
@pravin
code:
data:privatelast updated:4 years ago
@pravin/
RequestBin with an Event API

Copy this workflow into your account to run it for free.

How it works:

  • The event details (headers, body, query data, etc) for
    any HTTP requests to the endpoint URL for this workflow
    will be saved to $checkpoint.

  • To query the number of events that were made/saved in
    $checkpoint, make a request to the workflow endpoint
    with the path /api/events/count

  • To retrieve the contents for any requests made to this
    workflow, make a request to the worfklow endpoint URL
    with the path /api/events/

  • To reset $checkpoint, make a request to the workflow
    endpoint URL with the path /api/events/reset

  • To customize this works workflow, just edit the Node.js
    code below in steps.process_event_data

Saving event data to Pipedream's SQL service:

  • Enable steps.sql at the end of this workflow.

  • Add a table name -- Pipedream will automagically create
    a table and schema to match your data.

  • Navigate to the SQL tab above to query your data. Data will
    automatically be deleted after 30 days.