All jobs / Mobile developer / Networking

Mobile developer interview question · 0–1 years

The backend adds a field to a response and the shipped app starts failing to parse it. What should the client have done?

The strongest answer

Ignored fields it does not know and required only the ones it uses, so a new server field is harmless — and failed loudly only when a field it needs is missing or the wrong type

Why it works

Exactly — tolerant about what you accept, strict about what you actually need. That is what lets a server move.

What a good answer covers

Answers that fall short

Who gets asked this

More Networking questions