Pre-fill input fields with information from a GET request

I am trying to make a page where I can edit information from a news article. At first I have a news page, where there are several news articles that appear through executing a GET request. When I open one of these news articles, more information appears of the news articles. On this page there’s a “edit” news article button. On this page there are several input fields for the news article.

Now my question is: how do I prefill these input fields with information from the news article that I want to edit?

Another question is if it’s better to exectute a PUT request or a PATCH request for this case?

There might be a better option for this problem, so if you have any ideas, feel free to share!

Thanks in advance.

I managed to figure it out by putting the results of the GET request under the ngModel for the input