Asp.Net Core I'm getting 404 error problem

后端 未结 1 1337
春和景丽
春和景丽 2021-01-27 16:21

I\'m getting a 404 error but the problem is solved when I refresh the page.

This url is being called by a service. In this case it always gets error. If I refresh the

相关标签:
1条回答
  • 2021-01-27 17:18

    try changing

    [HttpGet]

    to this:

    [HttpGet("company/payment/callbackpayments/?data={data}")]

    or make sure your controller has /company/payment in a route attribute [Route("company/payment")]

    0 讨论(0)
提交回复
热议问题