API Response Mock
Pilih kode status apa pun di bawah untuk mendapatkan kode mock respons siap pakai untuk Django, Flask, FastAPI, Express.js, Spring Boot, Go, Ruby on Rails, dan ASP.NET Core.
1xx Informational
2xx Success
3xx Redirection
4xx Client Error
400
Bad Request
401
Unauthorized
402
Payment Required
403
Forbidden
404
Not Found
405
Method Not Allowed
406
Not Acceptable
407
Proxy Authentication Required
408
Request Timeout
409
Conflict
410
Gone
411
Length Required
412
Precondition Failed
413
Content Too Large
414
URI Too Long
415
Unsupported Media Type
416
Range Not Satisfiable
417
Expectation Failed
418
I'm a Teapot
421
Misdirected Request
422
Unprocessable Content
423
Locked
424
Failed Dependency
425
Too Early
426
Upgrade Required
428
Precondition Required
429
Too Many Requests
431
Request Header Fields Too Large
451
Unavailable For Legal Reasons
499
Client Closed Request
5xx Server Error
500
Internal Server Error
501
Not Implemented
502
Bad Gateway
503
Service Unavailable
504
Gateway Timeout
505
HTTP Version Not Supported
506
Variant Also Negotiates
507
Insufficient Storage
508
Loop Detected
510
Not Extended
511
Network Authentication Required
520
Web Server Returned an Unknown Error
521
Web Server Is Down
522
Connection Timed Out
523
Origin Is Unreachable
524
A Timeout Occurred
525
SSL Handshake Failed
526
Invalid SSL Certificate
530
Site Frozen
2xx Positive Completion
3xx Positive Intermediate
4xx Transient Negative
5xx Permanent Negative
500
Syntax Error
501
Syntax Error in Parameters
502
Command Not Implemented
503
Bad Sequence
504
Parameter Not Implemented
521
Host Does Not Accept Mail
530
Authentication Required
535
Authentication Failed
550
Mailbox Not Found
551
User Not Local
552
Exceeded Storage
553
Mailbox Name Invalid
554
Transaction Failed
556
Domain Does Not Accept Mail
WebSocket Close Codes
1000
Normal Closure
1001
Going Away
1002
Protocol Error
1003
Unsupported Data
1005
No Status Received
1006
Abnormal Closure
1007
Invalid Payload Data
1008
Policy Violation
1009
Message Too Big
1010
Mandatory Extension
1011
Internal Error
1012
Service Restart
1013
Try Again Later
1014
Bad Gateway
1015
TLS Handshake Failure
1xx Positive Preliminary
2xx Positive Completion
200
Command OK
202
Command Superfluous
211
System Status
212
Directory Status
213
File Status
214
Help Message
215
System Type
220
Service Ready
221
Closing Control Connection
225
Data Connection Open
226
Closing Data Connection
227
Entering Passive Mode
228
Entering Long Passive Mode
229
Entering Extended Passive Mode
230
User Logged In
250
File Action OK
257
Pathname Created
3xx Positive Intermediate
4xx Transient Negative
1xx Provisional
2xx Success
3xx Redirection
4xx Client Failure
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
405
Method Not Allowed
406
Not Acceptable
407
Proxy Authentication Required
408
Request Timeout
410
Gone
412
Conditional Request Failed
413
Request Entity Too Large
414
Request-URI Too Long
415
Unsupported Media Type
416
Unsupported URI Scheme
420
Bad Extension
421
Extension Required
422
Session Interval Too Small
423
Interval Too Brief
428
Use Identity Header
430
Flow Failed
433
Anonymity Disallowed
436
Bad Identity-Info
437
Unsupported Certificate
438
Invalid Identity Header
439
First Hop Lacks Outbound Support
470
Consent Needed
480
Temporarily Unavailable
481
Call/Transaction Does Not Exist
482
Loop Detected
483
Too Many Hops
484
Address Incomplete
485
Ambiguous
486
Busy Here
487
Request Terminated
488
Not Acceptable Here
489
Bad Event
491
Request Pending
493
Undecipherable