简体   繁体   English

如何 POST/PUT 到 .NET Core 中的外部端点?

[英]How to POST/PUT to the External Endpoints in .NET Core?

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?我是 Web API 的新手,我能否获得从我的本地数据库获取数据的任何参考,并且可以使用 ASP.NET 核心对外部端点执行 POST / PUT 操作?

This answer would be helpful for those who are in search of POST or PUT request over Http in .NET Core 6.0 & above这个答案对那些在 .NET Core 6.0 及更高版本中搜索 Http POST 或 PUT 请求的人有帮助

Refer the link below: Make HTTP requests using IHttpClientFactory in ASP.NET Core参考以下链接: Make HTTP requests using IHttpClientFactory in ASP.NET Core

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 SwashBuckle.ASP.NET 核心库中显示外部库程序集提供的端点的 XML 注释 - How to show XML comments for external library assembly provided endpoints in SwashBuckle.ASP.NET Core library asp .net 核心 wcf 端点 - asp .net core wcf endpoints 如何删除默认的ASP.NET Core Identity终结点? - How to remove default ASP.NET Core Identity endpoints? 如何在 asp.net core2.1 中将加密请求发布到外部 URL - How to Post Encrypted request to external URL in asp.net core2.1 将信息保存在数据库中,然后使用 .NET CORE 将请求发布到外部 API - Saving the information in database and then Post request to external API using .NET CORE Soap 端点与 ASP.NET Core 6 - Soap Endpoints with ASP.NET Core 6 测试所有端点进行身份验证,.Net core 3.0 - Test all endpoints for authentication, .Net core 3.0 请求匹配 .NET Core 上的多个端点 - The request matched multiple endpoints on .NET Core ASP.NET 核心 Web API 与实体框架核心默认脚手架 Z594C103F2C6E04C3DAZ8AB05E 混淆 put? - ASP.NET Core Web API with Entity Framework Core default scaffolded controller confuses put and post? 如何解决请求与 .Net Core Web Api 中的多个端点匹配的问题 - How do I resolve the issue the request matched multiple endpoints in .Net Core Web Api
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM