Blacksmith
Overview
IntegrationsPricing

Your first event

Since the SQL integration warehouse now has the table users, it is ready to welcome some data. Let's INSERT our first user!

The trigger new_user of the source api exposes a HTTP route for incoming webhooks. We can therefore make a HTTP request with the appropriate data.

Using curl:

$ curl --request POST \
  --url http://localhost:9090/api/user \
  --header 'Content-Type: application/json' \
  --data '{
    "user": {
      "username": "johndoe"
    }
  }'

Using Insomnia:

Your first event

As a best practice, we should add data validations using models, both pre and post Transformation.

Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the repository. Once we merge it, the changes will be reflected on the website the next time it is deployed.

Thank you for your contributions!