Blog

How HTTP and HTTPS Work: Status Codes and TLS Explained for the IT Passport Exam

April 27, 2026

A clear breakdown of the differences between HTTP and HTTPS, the structure of requests and responses, and key status codes (200, 404, 500) for the IT Passport exam.

TagsIT PassportTechnologyNetworking

What is HTTP?

HTTP stands for HyperText Transfer Protocol and is the fundamental protocol for web page communication. It uses port 80. HTTP is stateless, meaning it does not retain information from previous requests.

What is HTTPS?

HTTPS stands for HTTP Secure and is the protocol that encrypts HTTP using SSL/TLS. It uses port 443. Its major feature is the ability to prevent eavesdropping and tampering of communications. Details on SSL/TLS are explained in Encryption Basics.

HTTP Request Methods

Among HTTP request methods, GET is used to retrieve (read) data, POST is used to send (create) data, PUT is used to update (full replace) data, DELETE is used to delete data, and PATCH is used to partially update data. Make sure to correctly distinguish the role of each method.

HTTP Status Codes

CodeCategoryMeaningExample
1xxInformationalProcessing100 Continue
2xxSuccessOK200 OK
3xxRedirectionMoved301 Moved Permanently, 302 Temporary
4xxClient ErrorRequest-side mistake401 Unauthorized, 403 Forbidden, 404 Not Found
5xxServer ErrorServer-side mistake500 Internal Server Error, 503 Service Unavailable

Cookies and Sessions

Cookies

Cookies are small pieces of data stored in the browser. They are used to maintain login status and identify users, functioning as a mechanism to give state to stateless HTTP.

Sessions

Sessions are user state information held on the server side. By identifying session IDs via cookies, per-user management is achieved.

Related Protocols

ProtocolPurposePort
HTTPWeb80
HTTPSEncrypted Web443
FTPFile Transfer21
SSHRemote Login22
SMTPEmail Sending25
POP3Email Receiving110
IMAPEmail Receiving143
DNSName Resolution53

Key Points for the IT Passport Exam

In the IT Passport exam, the differences between HTTP and HTTPS (port numbers, encryption), major status codes (200, 404, 500), the distinction between GET and POST, and the purpose of cookies are frequently tested. Make sure to master these topics.

Typical Past Exam Question Patterns

  • "What is the port number for HTTPS?" type → 443
  • "What is the status code when a file is not found?" type → 404

Related Terms

Study Tips

Memorize port numbers: HTTP is 80, HTTPS is 443. For status codes, remember the category classifications (2 Success, 3 Redirection, 4 Client Error, 5 Server Error) and the meanings of 200, 404, and 500.

Summary

By understanding the differences between HTTP and HTTPS, status codes, and cookies, you can reliably score points on related questions. For Technology area exercises, see the Technology Summary, and for full-length practice, use the Mock Exam.

関連記事

Pro

Pro 会員になる

この機能は Pro 会員限定です。月額 ¥980 で、合格まで一気に走り抜ける機能がすべて使えます。

Pro に加入する