Fake.REST logo
Fake.REST

🚀 v.0.0.2 version of Fake.REST is out

[July 31, 2019] by Nikolay Zherdev

I am very proud to announce the new version of Fake.REST is out. It has a new look on the landing page. Dynamic response templates and Request History.

In this post, I want to highlight ✨ the most important new features.

Dynamic response templates

You can create dynamic JSON response with any data, starting from simple id's and to business company slogans. The template syntax is very simple. For example, this snippet:

{
  "[3]": "foo bar baz"
}

generates the simple array of string

[
  "foo bar baz",
  "foo bar baz",
  "foo bar baz"
]

Let's make something more complicated:

{
  "success": true,
  "data": {
    "[2]": {
      "name": "{{name.firstName()}}",
      "lastName": "{{name.lastName()}}",
      "jobTitle": "{{name.jobTitle()}}",
      "zipCode": "{{address.zipCode()}}"
    }
  }
}

This template will generate something similar:

{
  "success": true,
  "data": [
    {
      "name": "Sabryna",
      "lastName": "Boyle",
      "jobTitle": "Customer Creative Representative",
      "zipCode": "15476"
    },
    {
      "name": "Norma",
      "lastName": "Boyle",
      "jobTitle": "Dynamic Factors Technician",
      "zipCode": "34423"
    }
  ]
}

The editor has been changed and now contains all documentation for templates syntax. 😸

Response editor

Added the following areas for dynamic data generation:

  • Array
  • Random
  • Personal
  • Address
  • Finance
  • Commerce
  • Company
  • Date

Request History

In the "Request History" you can view the History of your requests to the mocks. It works pretty simply:

Request History

We have a blog

Last but not least. We added a blog to share with you our achievements and development progress Any constructive feedback is appreciated.

Thank you all for your support. If you have any comments or questions please welcome.