diff --git a/examples/postMultipartFormData/index.html b/examples/postMultipartFormData/index.html
index 6abce1d..a5c27fa 100644
--- a/examples/postMultipartFormData/index.html
+++ b/examples/postMultipartFormData/index.html
@@ -70,62 +70,59 @@
+ axios({
+ url: '/postMultipartFormData/server',
+ data: data,
+ method: "post",
+ headers: passAsFormData ? { "Content-Type": "multipart/form-data" } : {},
+ })
+ .then(res => {
+ errorOutput.innerHTML = "Successfully posted!";
+ })
+ .catch(err => {
+ console.error("Error posting data:", err);
+ errorOutput.innerHTML = `${err.message}`;
+ });
+ };
+})();
+