The X-Factor: RAML With XML Format

In this article, we will explore how RAML specifications can be defined for the XML representation of resources. This will be explained with the help of JOB API. Consider this API for the purpose of getting a list of all jobs published by different companies. A job can also be posted using this JOB API.

JOB API

  • Resource: Jobs
  • Resource Path: /jobs
  • Methods:
    • GET: To retrieve a list of all jobs
    • POST:  To add a job

JSON Representation

This is how everyone talks in JSON

Strict Validations in Mulesoft APIkit Router

This article will help you in your understanding of the functionality of Query Parameters and Headers Strict Validations in the MuleSoft APIkit Router.

What Are Strict Validations?

Strict Validations is an APIkit router configuration that restricts or limits API calls with unwanted Headers and/or Query Parameters which are not defined in the API Specification (RAML).

Busy or Lazy?: Design API in Anypoint Studio

Creating API design using Anypoint Studio is a cool feature added by MuleSoft.

Now we can create API design from the comfort of our home, i.e., our Anypoint Studio. We can also test using Mocking Service and publish API Specs to Exchange from Anypoint Studio. No need to login to Anypoint Platform, again and again, to make changes in API Specs.

Latency Cost of Implementing API Policies (Anypoint Platform)

Practicing an API policy to API invocations sums treating overhead, which rises in increased latency (decreased response time) as seen by API clients. Depending on the type of API policy, that latency is up to 0.38 milliseconds (approx.) per HTTP request.

Improvement in HTTP request-response latency into the application of several API policies, which are enforced set in the API implementation.