SIP

Mock Respons 486 Busy Here

The callee's end system was contacted successfully but the callee is currently not willing or able to take additional calls at this end system.

Lihat referensi lengkap →

1 Respons HTTP

Respons HTTP
HTTP/1.1 486 Busy Here
Content-Type: application/json
Date: Tue, 25 Feb 2026 12:00:00 GMT
Content-Length: 46

{
  "error": "busy_here",
  "message": "Busy Here"
}

2 Uji dengan curl

terminal
curl -i https://httpbin.org/status/486

3 Kembalikan 486 Busy Here di Framework Anda

django
from django.http import JsonResponse


def my_view(request):
    return JsonResponse(
        {"error": "busy_here", "message": "Busy Here"},
        status=486,
    )
flask
from flask import Flask, jsonify

app = Flask(__name__)


@app.route("/endpoint")
def my_endpoint():
    return jsonify({"error": "busy_here", "message": "Busy Here"}), 486
fastapi
from fastapi import FastAPI
from fastapi.responses import JSONResponse

app = FastAPI()


@app.get("/endpoint")
def my_endpoint():
    return JSONResponse(
        content={"error": "busy_here", "message": "Busy Here"},
        status_code=486,
    )
express.js
// Express.js
app.get('/endpoint', (req, res) => {
  res.status(486).json({"error": "busy_here", "message": "Busy Here"});
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;
import java.util.Map;

@RestController
public class MyController {

    @GetMapping("/endpoint")
    public ResponseEntity<Map<String, Object>> myEndpoint() {
        return ResponseEntity
            .status(486)
            .body(Map.of("error", "busy_here",
                         "message", "Busy Here"));
    }
}
go net/http
package main

import (
    "encoding/json"
    "net/http"
)

func myHandler(w http.ResponseWriter, r *http.Request) {
    w.Header().Set("Content-Type", "application/json")
    w.WriteHeader(486)
    json.NewEncoder(w).Encode(map[string]string{
        "error":   "busy_here",
        "message": "Busy Here",
    })
}
ruby on rails
class MyController < ApplicationController
  def my_action
    render json: {"error": "busy_here", "message": "Busy Here"},
           status: :busy_here
  end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
    Results.Json(
        new { error = "busy_here", message = "Busy Here" },
        statusCode: 486
    )
);

Halaman Mock SIP Lainnya