Instructions
Configure a new extension
From the "Sites" screen, make sure you have selected the API key that you created using your attendee ID.
- On the left menu click on the "Extensions" link (underneath "Basic").
- Click "Add".
- Use the following settings:
- Name: Registration Validation
- API: OnBeforeAccountsRegister
- Description: CDC Advanced Training exercise
- URL: The URL (Your unique URL) copied from the weebhook.site.
- Advanced > timeout: 1000ms
- Advanced > Fallback Policy: FailOnAnyError
- Advanced > Integration: Generic
- Click "Save".
- Click on the "Active" slider next to your new webhool.
Trigger the Extension and check the payload
- Click the button below and register a new account.
- The extension should not allow the registration.
- Switch to the "webhook.site" browser tab.
- Search for your request (left panel).
Returning a successful response
- Switch to the "webhook.site" browser tab.
- Click "Edit".
- Enter the following into the window:
- Default status code:
200
- Content Type:
application/json
- Timeout before response:
0
- Response body:
{ "status": "OK" }
- Click "Save".
- Click the button below and register a new account.
- The extension should now allow the registration.
Congratulations! You have just simulated a real extension behavior!
< Home page