Skip to content

Commit c331190

Browse files
authored
Fix CrudApiAddProduct (#2114)
1 parent 31e63bc commit c331190

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/BenchmarksApps/Mvc/benchmarks.crudapi.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ scenarios:
2727
job: bombardier
2828
variables:
2929
path: /Products/1
30-
30+
3131
# Add product
3232
ApiCrudAddProduct:
3333
application:
@@ -37,7 +37,8 @@ scenarios:
3737
variables:
3838
path: /Products
3939
verb: POST
40-
bodyFile: https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/Mvc/crudproductbody.json
40+
customHeaders: [ 'content-type: application/json' ]
41+
bodyFile: https://raw.githubusercontent.com/aspnet/Benchmarks/main/src/BenchmarksApps/Mvc/crudproductbody.json
4142

4243
# Update product
4344
ApiCrudUpdateProduct:

0 commit comments

Comments
 (0)