Need advice about which tool to choose?Ask the StackShare community!

JSON Server

131
186
+ 1
7
Postman

92.3K
79K
+ 1
1.8K
Add tool

JSON Server vs Postman: What are the differences?

JSON Server and Postman are both widely used tools in web development for different purposes. JSON Server is a simple and convenient way to create a REST API for prototyping and testing, while Postman is a powerful API testing and documentation platform.

1. Mocking and serving data: JSON Server allows you to quickly mock and serve data using a simple JSON file. It automatically creates RESTful routes for the data and supports various CRUD operations. On the other hand, Postman does not provide native mocking capabilities, as it primarily focuses on testing and documenting APIs.

2. GUI interface vs Command line interface: Postman provides a user-friendly graphical interface that allows developers to easily send HTTP requests, test APIs, and view responses. It also provides features like authentication, environment variables, and response validations. On the contrary, JSON Server is a command-line tool that requires minimal configuration and can be easily integrated into development workflows.

3. Real-time collaboration and sharing: Postman offers cloud-based features that enable real-time collaboration among team members. It allows users to share collections, collaborate on API development, and synchronize changes across multiple devices. JSON Server, being a simple command-line tool, does not offer built-in collaboration features.

4. Middleware and request/response manipulation: Postman provides a wide range of functionalities through its pre-request scripts and response scripts. These scripts allow developers to add custom logic, manipulate requests and responses, and perform complex API testing scenarios. JSON Server, being a lightweight server, does not provide the same level of built-in middleware and request/response manipulation capabilities.

5. Documentation and API testing: Postman excels in providing comprehensive documentation features that help developers create detailed and interactive API documentation. It allows the creation of well-structured documentation with rich formatting, examples, and response code snippets. JSON Server, being mainly focused on data mocking and serving, does not provide native documentation generation capabilities.

6. Testing automation and integration with CI/CD: Postman offers advanced capabilities for automating and integrating API testing with continuous integration and continuous deployment pipelines. It provides a developer-friendly interface, command-line runner, and Postman API for seamless integration into various development workflows. JSON Server, being a stand-alone tool, does not offer the same level of testing automation and CI/CD integration features.

In summary, JSON Server is a lightweight tool for quickly mocking and serving data during prototyping and testing, while Postman is a comprehensive API testing and documentation platform with rich features like real-time collaboration, request/response manipulation, and automation capabilities.

Advice on JSON Server and Postman
Needs advice
on
PostmanPostmanApiaryApiary
and
Swagger UISwagger UI

From a StackShare Community member: "I just started working for a start-up and we are in desperate need of better documentation for our API. Currently our API docs is in a README.md file. We are evaluating Postman and Swagger UI. Since there are many options and I was wondering what other StackSharers would recommend?"

See more
Replies (3)
Jagdeep Singh
Tech Lead at ucreate.it · | 8 upvotes · 375.4K views

I use Postman because of the ease of team-management, using workspaces and teams, runner, collections, environment variables, test-scripts (post execution), variable management (pre and post execution), folders (inside collections, for better management of APIs), newman, easy-ci-integration (and probably a few more things that I am not able to recall right now).

See more

I use Swagger UI because it's an easy tool for end-consumers to visualize and test our APIs. It focuses on that ! And it's directly embedded and delivered with the APIs. Postman's built-in tools aren't bad, but their main focus isn't the documentation and also, they are hosted outside the project.

See more
Sadik Ay
Recommends
on
PostmanPostman

I recommend Postman because it's easy to use with history option. Also, it has very great features like runner, collections, test scripts runners, defining environment variables and simple exporting and importing data.

See more
Decisions about JSON Server and Postman
Stephen Fox
Artificial Intelligence Fellow · | 1 upvote · 332.1K views

Postman supports automation and organization in a way that Insomnia just doesn't. Admittedly, Insomnia makes it slightly easy to query the data that you get back (in a very MongoDB-esque query language) but Postman sets you up to develop the code that you would use in development/testing right in the editor.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of JSON Server
Pros of Postman
  • 7
    Stupid simple
  • 490
    Easy to use
  • 369
    Great tool
  • 276
    Makes developing rest api's easy peasy
  • 156
    Easy setup, looks good
  • 144
    The best api workflow out there
  • 53
    It's the best
  • 53
    History feature
  • 44
    Adds real value to my workflow
  • 43
    Great interface that magically predicts your needs
  • 35
    The best in class app
  • 12
    Can save and share script
  • 10
    Fully featured without looking cluttered
  • 8
    Collections
  • 8
    Option to run scrips
  • 8
    Global/Environment Variables
  • 7
    Shareable Collections
  • 7
    Dead simple and useful. Excellent
  • 7
    Dark theme easy on the eyes
  • 6
    Awesome customer support
  • 6
    Great integration with newman
  • 5
    Documentation
  • 5
    Simple
  • 5
    The test script is useful
  • 4
    Saves responses
  • 4
    This has simplified my testing significantly
  • 4
    Makes testing API's as easy as 1,2,3
  • 4
    Easy as pie
  • 3
    API-network
  • 3
    I'd recommend it to everyone who works with apis
  • 3
    Mocking API calls with predefined response
  • 2
    Now supports GraphQL
  • 2
    Postman Runner CI Integration
  • 2
    Easy to setup, test and provides test storage
  • 2
    Continuous integration using newman
  • 2
    Pre-request Script and Test attributes are invaluable
  • 2
    Runner
  • 2
    Graph
  • 1
    <a href="http://fixbit.com/">useful tool</a>

Sign up to add or upvote prosMake informed product decisions

Cons of JSON Server
Cons of Postman
    Be the first to leave a con
    • 10
      Stores credentials in HTTP
    • 9
      Bloated features and UI
    • 8
      Cumbersome to switch authentication tokens
    • 7
      Poor GraphQL support
    • 5
      Expensive
    • 3
      Not free after 5 users
    • 3
      Can't prompt for per-request variables
    • 1
      Import swagger
    • 1
      Support websocket
    • 1
      Import curl

    Sign up to add or upvote consMake informed product decisions

    - No public GitHub repository available -

    What is JSON Server?

    Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

    What is Postman?

    It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use JSON Server?
    What companies use Postman?
    See which teams inside your own company are using JSON Server or Postman.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with JSON Server?
    What tools integrate with Postman?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to JSON Server and Postman?
    MongoDB
    MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
    JSON
    JavaScript Object Notation is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language.
    Firebase
    Firebase is a cloud service designed to power real-time, collaborative applications. Simply add the Firebase library to your application to gain access to a shared data structure; any changes you make to that data are automatically synchronized with the Firebase cloud and with other clients within milliseconds.
    Mirage
    The Elasticsearch query DSL supports 100+ query APIs ranging from full-text search, numeric range filters, geolocation queries to nested and span queries. Mirage is a modern, open-source web based query explorer for Elasticsearch.
    Insomnia REST Client
    Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux.
    See all alternatives