There is a front on Angular and back on express. At the front, the user creates an article. This article has fields with different data types. The article will be sent to the server conditionally in the form of such an object:
{ name: 'Название статьи', preText: 'Предисловие', text: 'Основной текст', isActive: true, count: 15, mainImg: ???, pretextImg: ???, otherImg: ??? } The question is that there are images in this article. They may be different count and in different places. How to send such an article to the back? Can I send pictures inside this object, or send them a separate request? If only a separate, then how to understand what image from where?