Asked by madsenpink on February 16, 2025
How do I set up a custom domain for my API or pages?
Answered by Twidget
Open the API (or page) settings, scroll to the Custom Domain input and follow the on‑screen instructions to configure your CNAME and DNS settings.
Number fields returning null in path parameters
Path, query, and header inputs default to text. Convert the input to a number using the "Convert to Number" command before using it to query the database.
Working with Trafft API lacking availability endpoints
If the external platform (Trafft) does not expose availability via an API endpoint, Twidget cannot retrieve that data. Twidget relies on the external API to access such information. If Trafft adds the appropriate endpoints in the future, Twidget can integrate with them.
If you want help des...
Connecting to Supabase
Connect to Supabase via its REST API: create HTTP Request commands in Twidget that call Supabase’s API endpoints. Reference: https://supabase.com/docs/guides/api and see this example video: https://www.youtube.com/watch?v=IrY_7xnA10g
HTTP request error: "target must be an object"
That error usually occurs when the parameters field is not provided as an object. Ensure the Parameters input of the HTTP Request command is an object type (not a string or other type).
Debugging external HTTP requests and logging
External response details are controlled by the external API server — we surface what the server returns. Regarding logging request payloads, Twidget avoids storing full request logs that could contain sensitive data. If you need more debugging detail, let us know which specific response fields o...