The API settings in Twidget enable you to customize your APIs to fit your requirements. Here’s how you can do it:
-
Navigate to the API page.
Click on the Settings button located at the top-right corner. This will open a sidebar where you can configure various settings for your API.
Specify the HTTP methods that your API will allow. The options include:
GET
POST
PATCH
DELETE
HEAD
PUT
You can configure Twidget to send emails from your email address. Here are the settings you can specify:
Host: The host of your email server.
Port: The port used by your email server.
Email: Your email address.
Password: The password for your email account, which will be encrypted when stored in Twidget.
All these settings are updated in real-time, meaning any changes you make will be applied immediately without needing a restart.
By configuring these settings, you can customize your API’s behavior to enhance security, control access, and utilize your preferred email services directly from Twidget.
Endpoint Basics
An endpoint refers to a specific URL (Uniform Resource Locator) that a client can access to interact with the API and perform various operations. Endpoints act as gateways that allow clients (such as web or mobile applications) to communicate with the server hosting the API and perform actions like ...
Authentication
Twidget supports Bearer Authentication to ensure secure access to your endpoints. You can specify which endpoints should be secured or open. Once secured, an endpoint can only be accessed using a valid Bearer Token, which is generated via our API. Additionally, we provide functionality to generate a...
Generate CRUD Endpoints
What are CRUD Endpoints?. CRUD stands for Create, Read, Update, Delete. These are the basic operations required to manage data in a database. Each operation corresponds to a specific HTTP method: - Create: Adds new data (HTTP POST) - Read: Retrieves data (HTTP GET) - Update: Modifies existing data (...
What is an API
An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate and interact with each other. It defines the methods and data formats that applications can use to request and exchange information, services, or functionalities from...
Create File Endpoints
Overview. Twidget allows you to create file endpoints, which enable you to manage files in your file store. This feature is designed to streamline your workflow by providing predefined endpoints for common file operations. Creating File Endpoints. To create a file endpoint in Twidget, follow these s...