Expose endpoint Add newArticle
kasdihacene opened this issue · comments
AceneKASDI | ⵀⴰⵙⴻⵏ ⴰⵜ ⵙⴰⴷⴻⵇ commented
In the backend an endpoint http POST /article
With body (id, Map<String, Element>) add the element is a presentation of:
- (Type:Title - Text) | (Type:Text-area - Text) | (Type:File - Filename - legend) | (Type:Code - snippet - language)
A file should be persisted before sending this POST request to store the article: PREREQUISITE