From bfdffebcd5617137798408c0ec82b78bfe06c7a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Ros?= Date: Fri, 22 Aug 2025 11:37:34 -0700 Subject: [PATCH] Fix CrudApiAddProduct --- src/BenchmarksApps/Mvc/benchmarks.crudapi.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/BenchmarksApps/Mvc/benchmarks.crudapi.yml b/src/BenchmarksApps/Mvc/benchmarks.crudapi.yml index e9f9a97e7..e53290e3f 100644 --- a/src/BenchmarksApps/Mvc/benchmarks.crudapi.yml +++ b/src/BenchmarksApps/Mvc/benchmarks.crudapi.yml @@ -27,7 +27,7 @@ scenarios: job: bombardier variables: path: /Products/1 - + # Add product ApiCrudAddProduct: application: @@ -37,7 +37,8 @@ scenarios: variables: path: /Products verb: POST - bodyFile: https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/Mvc/crudproductbody.json + customHeaders: [ 'content-type: application/json' ] + bodyFile: https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/Mvc/crudproductbody.json # Update product ApiCrudUpdateProduct: