【问题标题】:How to POST/PUT to the External Endpoints in .NET Core?How to POST/PUT to the External Endpoints in .NET Core?
【发布时间】:2022-12-01 15:37:46
【问题描述】:

I'm new to Web API, Can I get any reference that fetching data from my local DB and can do POST / PUT operation to the External Endpoint using ASP.NET Core?

【问题讨论】:

  • Do the code in steps. First Get data from Database. Then do a request and put data into the Post. There is no GET Request to query a database. Do a search for reading a database. You did not specify the type of database you are using.
  • Could you share more details about this issue?

标签: c# .net rest asp.net-core asp.net-web-api


【解决方案1】:

This answer would be helpful for those who are in search of POST or PUT request over Http in .NET Core 6.0 & above

Refer the link below: Make HTTP requests using IHttpClientFactory in ASP.NET Core

【讨论】:

    猜你喜欢
    • 2022-12-28
    • 2022-12-01
    • 2022-12-01
    • 2022-12-02
    • 2022-12-02
    • 2022-12-02
    • 2022-12-27
    • 2022-12-01
    • 2022-12-31
    相关资源
    最近更新 更多