logo
Initializing search
      • Video tutorials index
        • Introduction to services
        • Package configuration
        • Package properties
        • Importing & exporting packages
          • Creating a service manually
          • Generating services from an API
          • Using the database perspective
          • SQL database connections
          • Creating a SQL service
          • Using stored procedures
          • Using database views
          • noSQL database connections
          • Creating a Cassandra service
          • Creating a MongoDB service
          • Using Redis in a service
          • Delimited flat file services
          • Excel flat file services
          • Invoking a service manually
          • Invoking a service via an API
          • Invoking a service via HTTP
          • Invoking a service via event based workflow
          • Invoking a service via the Scheduler endpoint
          • Invoking a service via the JMS endpoint
          • Invoking a service via the email endpoint
          • Invoking a service via the FTP client endpoint
          • Invoking a service via the HTTP filter endpoint
          • Invoking a service via the Jabber endpoint
          • Invoking a service via the Redis listener endpoint
          • Invoking a service via the RSS endpoint
          • Invoking a service via the Tracker Resubmit endpoint
          • Invoking a service via the URL alias endpoint
          • Invoking Groovy via the Scheduler endpoint
          • Map step
          • Fork step
          • Block step
          • Iterate step
          • While step
          • Break step
          • Script step
          • Concurrent step
          • Random step
          • Introduction to Functions
          • Using Functions
          • Array Functions
          • Boolean Functions
          • Cache Functions
          • CSV Functions
          • Database Connection Pool Functions
          • Email Functions
          • File Functions
          • Flat File Functions
          • Flux Functions
          • Gloop Functions
          • Groovy Functions
          • HTTP Functions
          • JMS Functions
          • JSON Functions
          • Logger Functions
          • Marshaller Functions
          • Martini Functions
          • Number Functions
          • Proxy Request Functions
          • Remote Deployment Functions
          • REST Functions
          • RSS Functions
          • Service Registry Functions
          • Stream Functions
          • String Functions
          • SQL Functions
          • Throttling and Monitor Functions
          • Tracker Functions
          • URL Functions
          • User Group Functions
          • Util Functions
          • Velocity Functions
          • VFS Functions
          • XML Functions
          • Creating custom functions
          • Mapping
          • Cursors
          • XA transactions
          • Data Caching
          • Data models
          • Database connection pool switching
          • Declaring properties
          • Unloading properties
          • Subscribing to a Kafka topic
          • Producing messages on a Kafka topic
          • Subscribing to a JMS topic/queue
          • Publishing JMS messages
          • Using Groovy Java libraries
          • Spring
          • Basic error handling
          • Logging errors to the console
          • Logging errors to an external service
          • Handling error logic at the service level
          • Creating a custom exception and error message using the validate expression
          • Creating a custom exception and error message explicitly in a service
          • Creating a custom exception class
          • Viewing log files
          • Configuring the loggers
          • Using Tracker
          • Tracking inbound HTTP requests
          • Tracking outbound HTTP requests
          • Tracking services from an endpoint
          • Tracking services programmatically
          • Debugging services
          • Creating an API
          • Mocking an API response
          • Implementing API services
          • Authentication - Basic
          • Authentication - oAuth2
          • Debugging an API
          • Creating a service by consuming an API in HTTP client
          • Creating a service from an API's documentation
          • Creating services by importing an API schema
          • API authentication
          • Creating API documentation
          • Exporting a Postman collection
          • Exporting an OpenAPI schema
        • Creating an event based workflow
        • Creating web page templates
        • Using Velocity in a service
        • Creating a Git repository
        • Committing files to a Git repository
        • Push branch to remote Git repository
        • Clone Git repository
        • Fetch & pull commits from remote Git repository
        • AWS CodeDeploy
        • Bamboo
        • Github Actions
        • Gitlab Pipelines
        • Jenkins
        • Microsoft Azure Pipeline
          • ActiveMQ Artemis with AMQP
          • Apache ZooKeeper cluster
          • Consul cluster
      • Overview
      • Martini Online subscription
      • Martini Desktop installation
      • User interface
        • Overview
        • Alias for serializing
        • APIs
        • Asynchronous Gloop steps
        • Caching
        • Database cursors
        • Database transactions
        • Data transformation
        • Date manipulation
        • Endpoints
        • Flat file service
        • Event Based Workflow
        • Gloop annotations
        • Gloop steps
        • HTTP client
        • Invoking Gloop
        • JSP response
        • JSON cursors
        • Report Builder
        • Set expressions
        • Solr
        • SQL services
        • Streams
        • Throttling and monetization
        • Velocity
        • Virtual file systems
        • WebSockets
        • XML cursors
        • Overview
        • Creating a package
        • Writing a service
        • Invoking a service over HTTP
        • Creating an endpoint
        • Publishing an API
        • Documenting an API
        • Securing an API
        • Viewing transactions
        • Creating a report
      • Overview
      • Editions
        • Overview
        • Flexible deployment models
        • Cloud Edition
        • Desktop Edition
          • Overview
            • Overview
            • JDK 8
          • Installation
            • Overview
            • Docker image
            • Standard container procedures
            • Swarm mode procedures
          • Firewall
          • Proxying to a domain
          • Startup and shutdown
          • Directory structure
      • Instance management
        • Overview
        • Generating
        • Installation
        • Updating
        • Overview
        • Simple
          • Overview
          • Simple
          • High availability
        • Development
        • Production
          • Overview
            • Apache ZooKeeper
            • Consul
            • Eureka
            • Kubernetes
          • Service discovery & registration
        • Headless environment
        • Overview
        • CLI tool
        • ESB API
        • Application properties
        • Overview
        • JVM
        • Tomcat
        • ActiveMQ
        • ActiveMQ Artemis
        • RabbitMQ
        • Solr
        • Web services
        • Overview
          • Overview
            • Overview
            • Transport connectors
              • Overview
              • General configuration
              • Authentication and authorization
              • Master-slave setup
          • ActiveMQ Artemis
          • RabbitMQ
          • Sending a JMS message
          • Overview
          • Perspective
            • Overview
            • Adding
            • Removing
            • Status
              • Overview
              • Migrating
              • Overview
              • Properties
              • Installing drivers
              • XA transactions
                • Overview
                • New RDS
                • Existing RDS
            • Cassandra
              • Overview
              • Creating databases and collections
              • Connecting to MongoDB Atlas
            • Redis
            • Overview
            • SQL
            • Cassandra
              • Overview
              • Types
          • Overview
          • Remote
            • Overview
            • Configuring ZooKeeper
            • Configuring SolrCloud
            • Configuring Martini
        • Using Redis with API throttling
        • Overview
        • HTTP & HTTPS
        • NGINX & TLS
        • Overview
        • Application logs
        • Threads
        • User sessions
        • HTTP requests
        • Broker destinations
        • Service manager
        • JDBC connections
      • Overview
      • IDEs
        • Overview
        • Metadata
        • Lifecycle
        • Directory structure
        • Core
        • Spring context
        • Deployment descriptor
        • Properties
        • Web pages
        • Creating
        • Importing
        • Exporting
        • Remote deployment
        • Deleting
        • Overview
          • Overview
          • Inputs and outputs
          • Creating
          • Importing
          • Generating
            • Overview
            • Map
            • Fork
            • Iterate
            • While
            • Block
            • Break
            • Script
            • Concurrent
            • Random
            • Invoke
            • Overview
            • Step editor
            • Input/Output view
            • Mapper view
            • Properties view
            • Shortcuts
            • Validation
            • Refactoring
          • Running
          • Debugging
          • Documenting
          • Design guidelines
          • Overview
          • Core
          • Creating
          • Model editor
          • Object types
          • Cursors
          • Model references
          • Object converters
        • Flat file service
        • SQL
        • Cassandra
        • MongoDB
          • Consuming
          • Ad hoc
            • Overview
            • Creating
              • Overview
              • Source
              • General
              • Documentation
              • Operations
              • Tags
              • Security
              • Preview
              • Validation
            • Documentation
            • Overview
            • Creating
            • Editor
            • Overview
            • Request data
            • Response data
        • Overview
        • Creating
        • Generating
        • Importing
          • Tag
          • Invoke template
          • Overview
          • Adding step
          • Editing step
        • Exposing
        • Running
        • Debugging
        • Resources
        • Overview
        • Inputs and outputs
        • Creating
        • Editor
        • Running
        • Invoking Gloop or Flux
        • Groovydoc
        • Gloop annotations
        • Customizing compilation
        • Custom Functions
        • HTTP endpoints
        • Overview
        • Anatomy
        • Creating
          • Adding state
          • Adding transition
          • Setting state action
          • Setting inputs
          • Passing data between states
          • Making decisions
          • Delaying transitions
          • Looping back
          • Handling exceptions
          • Reserved variables
        • Waiting
        • Triggering
        • Monitoring
        • Running
        • Debugging
        • Documenting
        • API
        • Overview
        • ArrayFunctions
        • BooleanFunctions
        • CacheFunctions
        • CoreFunctions
        • CsvFunctions
        • DatabaseConnectionPoolFunctions
        • EmailFunctions
        • FileFunctions
        • FlatFileFunctions
        • FluxFunctions
        • GloopFunctions
        • GroovyFunctions
        • HttpClientFunctions
        • HttpFunctions
        • JabberFunctions
        • JmsFunctions
        • JsonFunctions
        • KafkaClientsFunctions
        • Logger
        • MarshallerFunctions
        • MartiniFunctions
        • MongoDbFunctions
        • MonitorFunctions
        • NumberFunctions
        • ProxyRequestFunctions
        • RemoteDeploymentFunctions
        • RestFunctions
        • RssFunctions
        • ServiceRegistryFunctions
        • SolrFunctions
        • SqlFunctions
        • StreamFunctions
        • SpringFunctions
        • StringFunctions
        • ThrottlingFunctions
        • TrackerFunctions
        • UrlFunctions
        • UserGroupFunctions
        • UtilFunctions
        • VelocityFunctions
        • VfsFunctions
        • WebFunctions
        • WidgetPageFunctions
        • XmlFunctions
      • JAR services
        • Overview
          • Directory watcher
          • Email
          • FTP client
          • FTP server
          • HTTP filter
          • Jabber
          • JMS listener
          • Kafka listener
          • MongoDB listener
          • Redis Pub/Sub listener
          • RSS
          • Scheduler
          • Tracker resubmit
          • URL alias
        • Creating
        • Properties
        • Status
        • Exporting
        • Importing
        • Deleting
        • Overview
        • Creating requests
        • Configuring requests
        • Generating requests
        • Sending requests
        • Saving and grouping requests
        • Sharing requests
        • Cookie manager
      • API Explorer
        • Overview
        • Managing
        • Basic
        • OAuth2
      • Securing Gloop APIs
      • Securing Groovy APIs
      • Third-Party Authentication and Authorization
      • Overview
      • Monitor rule
      • Invoke document
      • Logging invokes
      • Searching invokes
      • Monetization
      • Search API
      • Overview
      • Throttling rule
      • Overview
      • Document structure
      • Indexing documents
      • Adding GeoIP data
      • Searching documents
      • Rebuilding the index
      • Security and privacy
      • Search API
      • Overview
      • Creating a core
      • Indexing documents
      • Updating documents
      • Deleting documents
      • Searching documents
      • Search API
      • Overview
        • Overview
        • Rows and containers
          • From array
          • From JSON
          • From Tracker data
          • From Monitor data
          • From RESTful response
        • With CSS
      • Importing reports
      • Exporting Reports
      • Previewing reports
      • Deleting reports
          • v1.0.0
          • v1.0.1
          • v1.0.2
          • v1.0.3
          • v1.0.4
          • v1.1.0
          • v1.2.0
          • v1.3.0
          • v1.3.1
          • v1.3.2
          • v1.4.0
          • v1.5.0
          • v1.5.1
          • v1.5.2
          • v1.5.3
          • v1.5.4
          • v1.5.5
          • v1.6.0
          • v1.7.0
          • v1.7.1
          • v1.8.0
          • v1.8.1
          • v1.8.2
          • v1.9.0
          • v1.9.1
          • v1.10.0
          • v1.10.1
          • v1.10.2
          • v1.10.3
          • v1.0.0
          • v1.0.1
          • v1.0.2
          • v1.1.0
          • v1.2.0
          • v1.2.1
          • v1.3.0
          • v1.4.0
          • v1.5.0
          • v1.6.0
          • v1.6.1
          • v1.7.0
          • v1.7.1
          • v1.8.0
          • v1.8.1
          • v1.8.2
          • v1.8.3
          • v1.8.4
          • v1.0.0
          • v1.0.1
          • v1.1.0
          • v1.2.0
          • v1.2.1
          • v1.3.0
          • v1.4.0
          • v1.4.1
          • v1.5.0
          • v1.5.1
          • v1.5.2
          • v1.5.3
          • v1.5.4
          • v1.5.5
          • v1.6.0
          • v1.6.1
          • v1.6.2
          • v1.6.3
          • v1.7.0
          • v1.7.1
          • v1.7.2
          • v1.7.3
          • v1.7.4
          • v1.7.5
      • Feature requests
      • Bug reports
          • Overview
          • v1.0.0
          • v1.1.0
          • v1.2.0
          • v1.3.0
          • Overview
          • v1.0.0
          • v1.1.0
          • v1.2.0
          • v1.3.0
          • v1.4.0
          • v1.5.0
          • v1.6.0
          • v1.7.0
      • Vulnerabilities
      • Naming conventions
        • Theme
        • Text search
        • Service picker
        • Service invoker
        • Help
        • Martini Desktop
        • Martini Online
      • Public IPs
        • Web services
      • Further reading
      • Javadoc
      • Support
      • Knowledge Base
      • Community Q&A

    Generating services from an API

    Generating services from an API

    Creating a service by consuming an API in HTTP client

    1:48

    Creating a service from an API's documentation

    4:41

    Creating services by importing an API schema

    2:22

    API authentication

    4:33

    "Lonti" is a trademark of Lonti.com Pty Ltd ACN 643 086 024. ©Lonti.com Pty Ltd. All rights reserved.