Web Form DocType

Can we use web form for update api? How to do that

I used web form to get the data. And i want to update using web form. Having that Data in database i want to load it again for the user to edit using the same web form after submitted? using put Api

Thank you