Connect an HTTPS endpoint
Learn how to connect your application through HTTPS
The tool Webhook.site is used for this tutorial. Although we have good experience with this tool, KPN is not responsible for the proper working of the tool.
Go to https://webhook.site. Webhook.site is a service with which you can easily inspect incoming HTTP requests. When vising the site it will automatically create a unique HTTPS endpoint for you. Use the Copy to clipboard button that is highlighted in the screenshot below to copy the URL of your new endpoint.
Go to the All Destinations page and click on Add new Destination.
After selecting HTTPS Endpoint, fill in the following information:
- Destination name: you can think of a good recognizable name for your first destination, like My First Destination.
- URL: this should be the URL you just copied from webhook.site.
- Shared secret: this is a kind of password that an application should use to verify that KPN Things sent the data to the endpoint. It should be at least 32 characters long and should contain at least an uppercase character, lowercase character, digit, and special character.
Click Add HTTPS Endpoint to save the destination.
At the moment, Destinations cannot be tested stand-alone in the Portal. To verify the connection to your server or application, you need to continue with the next tutorial. After linking the Destination to a Flow with a Device, you will be able to verify the proper working of your Destination, since you then will be receiving data from your Device.
We are working on bringing Destination verification and testing to the Portal.