Help
Academy
  • INTRODUCTION
  • About Reasy
  • Why Choose Reasy?
  • User Registration
  • Invite & Manage Users
  • GETTING STARTED
    • Create Your First App
    • App Dashboard
    • Workspace
      • Engine Explorer
      • Navigation Explorer
      • Canvas
      • Tools
        • Screen Components
          • Input Elements
          • Containers
          • Texts
          • Buttons
          • Charts
          • Grids
          • Cards
          • Files & Images
          • Custom Components
          • Pre-built Screens
        • Custom Screen Components
        • BPMN Components
        • Data-Driven Plugins
          • Data Sources
            • SQL Plugin
            • Session Plugin
            • MakeServerURL
            • PrivatePDM
            • Logout
            • MethodInvoker
            • UMPlugin
            • APIConsumer
            • EmailReaderPlugin
            • FileReaderPlugin
            • FileWriterPlugin
            • FileDownloadPlugin
            • FileUtils
            • PropertyReader
            • DateUtils
            • JsonUtils
            • JoinPlugin
            • EncryptDecrypt
            • StringUtils
          • Data Display
          • Business Tools
      • Property Editor
        • General Properties
        • Design Properties
    • Engines
      • Screens
        • Responsive Grid System
        • Building App Layout
        • Building Screens
        • Creating Pop-up Screens
        • Events and Actions
        • Importing Screens
          • Importing an HTML
          • Importing a Figma Screen
          • Importing a PDF
          • Importing a Screenshot
          • Importing a Hand-drawn Sketch
          • Text to Screen
        • Manage Screens
      • Data Modeler
        • Setting up a Data Source
        • Creating a Model
          • Adding Computational Formula
          • Adding Validations
        • Importing a Data Model
        • Entity Relationships
        • Exporting a Data Model
      • APIs
        • A Step-by-Step Guide to Build an API
        • Creating an API Service
        • API Configuration
        • Publishing API
        • API Authentication
        • Consuming REST APIs
        • Manage API Services
      • Navigation
        • Layout Setup
        • Creating Microapps
        • Manage Microapps
      • Page
      • Workflow
        • Creating Workflows
        • Workflow Templates
        • Optimizing Complex Workflows
        • Manage Workflows
      • User Management
        • Users
        • Roles
        • Policies
        • Password Policies
        • Data Rules
      • Resources
      • Languages
        • Translating App Language
        • Manage Languages
    • App Management
  • TECHNICAL INFORMATION
Powered by GitBook
On this page

Was this helpful?

  1. GETTING STARTED
  2. Engines
  3. APIs

API Authentication

After you publish your API, you can secure its integrity by authenticating it using any of these methods:

  • HTTP Basic Auth A method of authenticating clients where the server checks their username and password against a database of authorized users.

  • OAuth An open authentication that uses authorization tokens to prove consumers’ identity. This method allows your consumers to access your information without requiring them to provide their passwords.

  • Access Token A Token-based authentication allows you to include an access token for each API call. These tokens help you uniquely identify the API consumers and grant them access to information.

  • None No authentication. Anyone can consume your API without having to authenticate.

Let’s see how to authenticate an API. Open the API and go to its Properties in the right pane. Here,

  • Select your API type (REST/SOAP)

  • Choose the authentication type that you require for your API.

  • Choose the HTTP method that specifies the desired action that a resource can perform.

  • Enter the valid API URL (An HTTP request or an end-point URL where the user can communicate with the API).

  • Select the request (Accepts) and response (Produces) parameter type (JSON/XML).

  • Select the log level.

What are Log Levels, and how do they help?

The levels of logging classify various log events from each other based on their severity. Log levels help you regularly monitor your API for issues. Here’s the list of available log levels with quick info on how they help you:

  • Solution Level – This log level captures every action/event.

  • Off – This level doesn’t log anything. It just turns off the logging.

  • Error – This level shows the issues preventing your app from functioning effectively. These are mostly runtime errors or unexpected conditions.

  • Warn – This log level flags any issues that might occur unexpectedly or possibly happen at any time. A few times, these may prevent some processes from operating.

  • Info – Logs every event, describing what occurred. In normal operations, you don’t need to deal with these logs.

  • Debug – The logs at this level give detailed information. These help to diagnose and troubleshoot any issue.

Tip: Unless you require a particular log level, we recommend using the 'Solution Level' log for private APIs and 'Debug' for public APIs.

PreviousPublishing APINextConsuming REST APIs

Last updated 1 year ago

Was this helpful?