Intermediate Web & Software Development
Q61 / 100

What is the difference between REST and gRPC?

Correct! Well done.

Incorrect.

The correct answer is B) REST uses HTTP/JSON (human-readable, widely supported); gRPC uses HTTP/2 + Protocol Buffers (binary, strongly typed, efficient for microservices)

B

Correct Answer

REST uses HTTP/JSON (human-readable, widely supported); gRPC uses HTTP/2 + Protocol Buffers (binary, strongly typed, efficient for microservices)

Explanation

gRPC (Google): IDL defines services, Protobuf serializes efficiently (5-10x smaller than JSON), HTTP/2 enables multiplexing and streaming. Ideal for internal microservices. REST: better browser support, human-readable.

Progress
61/100