---
title: "Discussion on \"How To Create A Mock API In 4 Minutes\" | Hashnode"
description: "Discussion on \"How To Create A Mock API In 4 Minutes\". A guide on how to create a mock API in 7 minutes."
url: "https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Create A Mock API In 4 Minutes](https://afy.afomaorji.com/how-to-create-a-mock-api-in-4-minutes?utm_source=hashnode&utm_medium=feed)

A guide on how to create a mock API in 7 minutes.

Aug 3, 2021 · 7 min read · afy.afomaorji.com  
Updated Dec 4, 2023  
Read the article

-   [#apis](https://hashnode.com/tag/apis)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#heroku](https://hashnode.com/tag/heroku)
-   [#hashnode](https://hashnode.com/tag/hashnode)

## Written by

[Afoma Orji](https://hashnode.com/@Afoma)

@Afoma · Nigeria

  
[View profile](https://hashnode.com/@Afoma)

Front End Developer

I am a developer relations engineer, software developer, technical writer, and a passionate Web3 advocate.

## Responses 6

Markdown supported · ⌘↵ to post

[Harshit Budhraja](https://hashnode.com/@hrhv)

[Aug 12, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/611513afe249483e1210ee38)

\[**Fun fact**, not a marketing comment haha\]

This is great, [Afoma Orji](https://hashnode.com/@Afoma)! I used to do the same until a little while ago (in the year 2020) when I found out about Mock Servers on Postman, which gets running in a few seconds. I was surprised at the ease of doing it and have been using it ever since. You should try it out. (Ref: [learning.postman.com/docs/designing-and-developin…](https://learning.postman.com/docs/designing-and-developing-your-api/mocking-data/setting-up-mock/))

Fast forward to April '21: I was looking for a switch and co-incidentally, I joined Postman 🚀, in the same team that owns mock servers as a feature. So, now I'm using it and building it at the same time 😂

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 12, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/611513afe249483e1210ee38#reply-6115271ce249483e1210f16e)

😂😂😂 yeah, I recently discovered Postman's mock servers. Thank you for reading my article. PS: I love using Postman for my HTTP requests.

[Mohammed A.](https://hashnode.com/@molaycule)

[Aug 6, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610d4280b79d6a113667fb23)

Nice explanation [Afoma Orji](https://hashnode.com/@Afoma)

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 7, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610d4280b79d6a113667fb23#reply-610dceeab79d6a1136680a3c)

Thank you Mohammed 😊,

[Favourite Jome](https://hashnode.com/@Favourite)

[Aug 4, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610ac2e06a61354c8ab76b3e)

Well detailed explanation [Afoma Orji](https://hashnode.com/@Afoma), I didn't know of Mock API until now. Thanks for sharing!

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 6, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610ac2e06a61354c8ab76b3e#reply-610d2aa5528eff11aea87996)

Thank you very much for scrupulously reading my article, Jome 😊. It means so much to me 🤗.

[Favourite Jome](https://hashnode.com/@Favourite)

[Aug 6, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610ac2e06a61354c8ab76b3e#reply-610d305bb79d6a113667f75b)

You're welcome [Afoma Orji](https://hashnode.com/@Afoma)

[Geoffrey Okeke](https://hashnode.com/@Chukwudebere)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/61095261cfe20703b4e07521)

Do they pay people to create mock API? Because I just got another skill😃. This is very insightful.👍🏾

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/61095261cfe20703b4e07521#reply-610964d1cfe20703b4e07791)

😂😂😂, you should definitely add that to your resume. Thank you for the compliment 😊.

[Eleftheria Batsou](https://hashnode.com/@eleftheriabatsou)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610941b7725d9303e03503be)

Great job explaining everything [Afoma Orji](https://hashnode.com/@Afoma)!

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/610941b7725d9303e03503be#reply-6109648b725d9303e03509f7)

Thank you very Eleftheria. It's my pleasure 😊

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/6108d51db97c436d241bebc3)

Nice one, [Afoma Orji](https://hashnode.com/@Afoma)! Mock APIs are super useful when you want to test your applications!

[Afoma Orji](https://hashnode.com/@Afoma)

[Aug 3, 2021](https://hashnode.com/posts/how-to-create-a-mock-api-in-4-minutes/610892de67f3446d9890425e/comment/6108d51db97c436d241bebc3#reply-6108ddcd67f3446d9890474a)

OMG 😃. Thank you Catalin 😊
