SIP

182 Queued Yanıtını Taklit Et

The called party is temporarily unavailable but the server has decided to queue the call rather than reject it. The call will be attempted when the callee becomes available.

Tam referansı görüntüle →

1 HTTP Yanıtı

HTTP Yanıtı
HTTP/1.1 182 Queued
Content-Type: application/json
Date: Tue, 25 Feb 2026 12:00:00 GMT

2 curl ile test et

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

3 Framework'ünüzde 182 Queued Döndürün

django
from django.http import HttpResponse


def my_view(request):
    return HttpResponse(status=182)  # Queued
flask
from flask import Flask

app = Flask(__name__)


@app.route("/endpoint")
def my_endpoint():
    return "", 182  # Queued
fastapi
from fastapi import FastAPI
from fastapi.responses import Response

app = FastAPI()


@app.get("/endpoint")
def my_endpoint():
    return Response(status_code=182)  # Queued
express.js
// Express.js
app.get('/endpoint', (req, res) => {
  res.sendStatus(182); // Queued
});
spring boot
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RestController
public class MyController {

    @GetMapping("/endpoint")
    public ResponseEntity<Void> myEndpoint() {
        return ResponseEntity
            .status(182) // Queued
            .build();
    }
}
go net/http
package main

import "net/http"

func myHandler(w http.ResponseWriter, r *http.Request) {
    w.WriteHeader(182) // Queued
}
ruby on rails
class MyController < ApplicationController
  def my_action
    head :queued
  end
end
asp.net core
// ASP.NET Core Minimal API
app.MapGet("/endpoint", () =>
    Results.StatusCode(182) // Queued
);

Daha Fazla SIP Mock Sayfası