# Update your HTML file

Source: https://developer.avalara.com/products/avalara-1099-and-w9/integration-guides/1099-and-w-9/wmk5260413997384/

Guide: 1099 & W-9

# Update your HTML file

Replace the placeholder in your sample HTML file with the full form\_request response from the Avalara 1099 & W-9 API.

Before you begin

Make sure you have the full response body from the previous step.

About this task

Use this step to inject the form\_request into your sample HTML page so you can test the integration flow.

Steps

1.  Open your saved `w9-example.html` file in a text editor.
2.  Locate the placeholder value, for example `REPLACE_ME` on line 8 of the sample `w9-example.html` file, and replace it with the full response body from the previous step.
3.  Save the file, then reload it in your web browser.

Result

This step simulates a server-side process that creates a `form_request` during page rendering and injects it into the HTML. In a production implementation, generate the `form_request` dynamically from your server instead of embedding it directly in the page.

Note

Protect your API credentials and data integrity. Always create the `form_request` using the Avalara 1099 & W-9 API on a server that you control. Don’t generate or expose it directly in client-side code.