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

OkHttp

70
86
+ 1
0
Postman

80.2K
67.5K
+ 1
1.8K
Add tool

OkHttp vs Postman: What are the differences?

Developers describe OkHttp as "An open source HTTP client". HTTP is the way modern applications network. It鈥檚 how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth. On the other hand, Postman is detailed as "Only complete API development environment". Postman is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.

OkHttp and Postman can be categorized as "API" tools.

Some of the features offered by OkHttp are:

  • HTTP/2 support allows all requests to the same host to share a socket.
  • Connection pooling reduces request latency (if HTTP/2 isn鈥檛 available).
  • Transparent GZIP shrinks download sizes.

On the other hand, Postman provides the following key features:

  • Compact layout
  • HTTP requests with file upload support
  • Formatted API responses for JSON and XML

Typeform, PedidosYa, and Swat.io are some of the popular companies that use Postman, whereas OkHttp is used by FarmLogs, Gridle, and Tokopedia. Postman has a broader approval, being mentioned in 2419 company stacks & 11498 developers stacks; compared to OkHttp, which is listed in 9 company stacks and 7 developer stacks.

Advice on OkHttp 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 路 297.9K 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
Sadik Ay
Recommends
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

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
Decisions about OkHttp and Postman
Stephen Fox
Artificial Intelligence Fellow | 1 upvote 路 265.5K 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 OkHttp
Pros of Postman
    Be the first to leave a pro
    • 488
      Easy to use
    • 369
      Great tool
    • 274
      Makes developing rest api's easy peasy
    • 155
      Easy setup, looks good
    • 143
      The best api workflow out there
    • 53
      It's the best
    • 53
      History feature
    • 44
      Adds real value to my workflow
    • 42
      Great interface that magically predicts your needs
    • 34
      The best in class app
    • 11
      Can save and share script
    • 9
      Fully featured without looking cluttered
    • 7
      Collections
    • 7
      Option to run scrips
    • 7
      Global/Environment Variables
    • 6
      Dead simple and useful. Excellent
    • 6
      Shareable Collections
    • 6
      Dark theme easy on the eyes
    • 5
      Awesome customer support
    • 5
      Great integration with newman
    • 4
      Simple
    • 4
      The test script is useful
    • 4
      Documentation
    • 3
      Easy as pie
    • 3
      Saves responses
    • 3
      Makes testing API's as easy as 1,2,3
    • 3
      This has simplified my testing significantly
    • 2
      API-network
    • 2
      I'd recommend it to everyone who works with apis
    • 2
      Mocking API calls with predefined response
    • 1
      Easy to setup, test and provides test storage
    • 1
      Graph
    • 1
      Postman Runner CI Integration
    • 1
      Now supports GraphQL
    • 1
      Continuous integration using newman
    • 1
      Pre-request Script and Test attributes are invaluable
    • 0
      <a href="http://fixbit.com/">useful tool</a>
    • 0
      Runner

    Sign up to add or upvote prosMake informed product decisions

    Cons of OkHttp
    Cons of Postman
      Be the first to leave a con
      • 9
        Stores credentials in HTTP
      • 8
        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
        Import curl
      • 1
        Support websocket

      Sign up to add or upvote consMake informed product decisions

      What is OkHttp?

      HTTP is the way modern applications network. It鈥檚 how we exchange data & media. Doing HTTP efficiently makes your stuff load faster and saves bandwidth.

      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 OkHttp?
      What companies use Postman?
      See which teams inside your own company are using OkHttp 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 OkHttp?
      What tools integrate with Postman?
        No integrations found

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

        What are some alternatives to OkHttp and Postman?
        Retrofit
        Retrofit turns your HTTP API into a Java interface
        Netty
        Netty is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients. It greatly simplifies and streamlines network programming such as TCP and UDP socket server.
        Amazon API Gateway
        Amazon API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, authorization and access control, monitoring, and API version management.
        Insomnia REST Client
        Insomnia is a powerful REST API Client with cookie management, environment variables, code generation, and authentication for Mac, Window, and Linux.
        RestSharp
        It is probably the most popular HTTP client library for .NET. Featuring automatic serialization and deserialization, request and response type detection, variety of authentications and other useful features
        See all alternatives