MockMan -Mock作成サービス-
問い合わせ
このサイトは?
任意のレスポンスを返却するAPIを作成できるサービスです。
フロントエンドなどのテストにご利用ください。
(例)ステータスコード500を返却するURLを作成して、異常系のテストをする。
使い方
返却したい値を「レスポンス作成」欄に設定します。
URL発行を押すと、常に指定したレスポンスを返却するURLが発行されます。
メディア系はjpeg画像のみ対応しています。CSVやXMLはBody欄にテキストで指定してください。
レスポンス作成
ステータスコード
100 Continue
101 Switching Protocols
102 Processing
103 Early Hints (RFC 8297)
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
226 IM Used
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
305 Use Proxy
306 (Unused)
307 Temporary Redirect
308 Permanent Redirect
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 Payload Too Large (RFC 7231)
414 URI Too Long (RFC 7231)
415 Unsupported Media Type
416 Range Not Satisfiable (RFC7233)
417 Expectation Failed
418 I'm a teapot
418 I'm a teapotの例
421 Misdirected Request (RFC 7540)
422 Unprocessable Entity
423 Locked
424 Failed Dependency
425 Too Early (RFC 8470)
426 Upgrade Required
428 Precondition Required (RFC6585)
429 Too Many Requests (RFC 6585)
431 Request Header Fields TooLarge (RFC 6585)
451 Unavailable For Legal Reasons
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
509 Bandwidth Limit Exceeded
510 Not Extended
511 Network Authentication Required (RFC 6585)
Content-Type
application/json
image/jpeg
text/css
text/csv
text/plain
text/html
text/tab-separated-values
text/xml
任意のレスポンスヘッダー ※クロスドメイン対策のため、Access-Control-Allow-Originは"*"固定です
パラメータ名
設定値
削除
-
+ 行追加
Body