V
V
Vladimir Grabko2016-05-31 17:38:09
JavaScript
Vladimir Grabko, 2016-05-31 17:38:09

What should the API return?

My backend now returns an error in Russian. But what if I want to do, for example, localization in Ukrainian. then I don’t really like the milf to check the text of the error in Russian and shove localization there. It came to mind to send error codes. But I'm afraid that after 30 api calls I'll get confused in the codes. I am more than sure that it is decided everywhere.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
entermix, 2016-05-31
@VGrabko

But I'm afraid that after 30 api calls I'll get confused in the codes.

Write Documentation

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question