Populate data in Strapi textbox from REST API

System Information
  • Strapi Version: 4.0.0
  • Operating System: win32 x64
  • Node Version: v14.17.5
  • NPM Version: 6.14.14

I want to create product page in which their will be textboxes and one button, on clicking the button Rest API will be called from server and data will be autopopulated in the textboxes and some data I want to store .