Systems | Development | Analytics | API | Testing

API

Mock Implementation with Choreo Connect, WSO2 API Manager

In Choreo Connect 1.1.0 release, mock APIs are supported considering the API definition file. Users can define mock responses in Open API Specification 3 (OAS 3) or using Swagger definition. With the latest WSO2 API Manager 4.1.0 release, the relevant endpoint type for this API type is Mock Implementation Endpoint type. These APIs are manipulated under the pre-released API lifecycle state. With Choreo Connect API definition based mock implementations, you can define default responses, HTTP status code based responses, status code based preferred response retrievals.

Validate WSO2 API Manager gateway request with open policy agent

Open policy agent (OPA) enables you to write security and compliance policies as code, or call any external policies using the OPA standard. WSO2 API manager uses this capability to offload policy decisions of API gateway requests to this policy engine. By decoupling the policy enforcement from evaluation, API policymakers now have the opportunity to write dynamic and reusable policies for ever-changing requirements. You can then reuse an OPA policy like any other policy in the API Manager by graphically dragging and dropping it into a policy pipeline. This video explains how it works and gives a demo.

API Security: Tips and Practices to Keep Your System Safe

As more and more businesses move to API-driven architectures, the need for strong API security increases. If your business relies on APIs to connect different parts of your infrastructure, you need to make sure your APIs are adequately secured. This article will discuss API security best practices to protect your data.

What Are The Main Advantages to API Testing?

In the world of application development, Application Programming Interfaces (APIs) enables the communication and exchange of data between software. Testing your API is essential to the proper integration and delivery of quality software and product. Unlike UI testing, API automation testing is designed to withstand the short release cycles and frequent changes that occur while using best practices for software development and IT operations. API testing is more important than ever.

Advantages of Using a Mock API to Accelerate Development

Mocking APIs is an increasingly popular trend, with more and more developers seeing the advantages of mocking dependencies rather than spinning up actual duplicates of resources. On a high-level, a mock API means that you have a service that returns static data, which in turn is based on a real API.

How APIs and Businesses Work to Enable Business Agility

APIs and businesses. Ever wonder what do APIs do in businesses? A better question is: what don’t they do? We’re living in the API economy — one where APIs rule business capabilities and open new revenue streams. Companies that leverage API technology innovate and respond to changes faster, providing value to customers and employees alike.

Using Moesif and Stripe for Pay-As-You-Go API Billing

Offering customers a variety of ways to pay for your product allows for flexibility and ease. In general, there are two ways for customers to pay for usage: Post-paid and pre-paid. Pre-paid is sometimes also referred to as PAYG, or Pay-As-You-Go. Post-paid usage can sometimes lead customers to have billing surprises if they are not tracking their usage closely. This can cause headaches for these users and can also cause issues for the service provider.

End-to-End API Monetization with Kong, Stripe, and Moesif

Many API developers and companies struggle to find ways to easily set up systems to monetize their APIs. Some are simple but not customizable, some are complex and require massive engineering effort to actually get it all running. To make things easier, Moesif created a feature a few months ago called Billing Meters which gives massive customizability but with a minimal amount of code and engineering effort.

One-Time Authorization Code for REST APIs in WSO2 Identity Server

WSO2 Identity Server provides many identity management workflows and password management workflows out of the box, e.g., self-registration, user invitations, password recovery, etc. However, it is not unusual to come across a situation where the workflow capabilities provided out of the box in the product, is not sufficient to fulfill your business requirement.