HTTP status codes tester

Sometimes in the course of development you may need to mock HTTP responses.
This is a simple service to return various HTTP responses.To call each error, simply append the response that you would like returned to the end of our URL as described below.

https://status-code.abstractapi.com?code=200

Below is a reminder of all known HTTP status codes.

1xx Informational

100

Continue

101

Switching protocols

102

Processing

2xx Success

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

228

IM used

3xx Redirection

300

Multiple choices

301

Moved permanently

302

Found

303

See other

304

Not modified

305

Use proxy

307

Temporary redirect

308

Permanent redirect

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

Payload too large

414

Request-URI too long

415

Unsupported media type

416

Requested range not satisfiable

417

Expectation failed

418

I'm a teapot

421

Misdirected request

422

Unprocessable entity

423

Locked

424

Failed dependency

426

Upgrade required

428

Precondition required

429

Too many requests

431

Request header fields too large

444

Connection closed without response

451

Unavailable for legal reasons

499

Client closed request

5xx Server error

500

Multiple choices

501

Moved permanently / 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

599

Network connect timeout error