ICode9

精准搜索请尝试: 精确搜索
  • WebApi中使用多个Post请求2022-07-17 00:32:21

    在.Net 6中,一个Controller中写多个接受Post请求的方法,只需要路由配种中加上Action即可   这是网上看的: var app = builder.Build(); if (!app.Environment.IsDevelopment()) { app.UseExceptionHandler("/Home/Error"); app.UseHsts(); } app.UseHttpsRedirection();

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有