Markdown API from file

How use markdown API from file?

I want to use markdown API for render markdown to html from file
(In file only markdown content (not json)).

I see possibility use only text in query parameter or body.

GitLab Version: 12.8.5

I read gitlab api documentation (help):

Please help me.