postman 未向 .net core api 传递超过 2 个参数

问题描述 投票:0回答:1

我有一个如下的帖子请求:

如果我在编码端发送请求,我只会获得用户名和密码的值。 我没有获得 API 的

DistrictUuid
值。请检查下面的图片并告诉我是否有任何解决方案。

.net asp.net-core postman asp.net-apicontroller
1个回答
0
投票

我在.net端点中添加了请求对象,如下所示

 public class AuthenticateModel
    {
        public string Username;
        public string Password;
        public string DistrictId;
        public string ApplicationId;
     
    }

然后像这样发送post请求 全部都是小箱子

最新问题
© www.soinside.com 2019 - 2024. All rights reserved.