---
title: "Discussion on \"Coding Exercise: Mock HTTP Status Code\" | Hashnode"
description: "Discussion on \"Coding Exercise: Mock HTTP Status Code\". Learn how to mock HTTP status codes for testing API integrations, including custom codes, with a simple self-hosted service"
url: "https://hashnode.com/posts/coding-exercise-mock-http-status-code/6653cd3803e6c6dcc23b819a"
---

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

Discussion

# [Coding Exercise: Mock HTTP Status Code](https://tech.mrleong.net/coding-exercise-mock-http-status-code?utm_source=hashnode&utm_medium=feed)

Learn how to mock HTTP status codes for testing API integrations, including custom codes, with a simple self-hosted service

May 27, 2024 · 1 min read · tech.mrleong.net  
Read the article

-   [#php](https://hashnode.com/tag/php)
-   [#coding](https://hashnode.com/tag/coding)
-   [#testing](https://hashnode.com/tag/testing)
-   [#http](https://hashnode.com/tag/http)
-   [#apis](https://hashnode.com/tag/apis)

## Written by

[Hong](https://hashnode.com/@hongster)

@hongster · Johor Bahru, Malaysia

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

Script Monkey @ Innoractive

I work with Linux in the day, ballroom dancing at night. I use Arch, btw.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
