I am new in Kotlin. So maybe this post is just a bookmark for future. For example we want request some API for some data by POST to it an JSON array of ids from our Spring service.