首页 > 解决方案 > 如何在 C# 中模拟邮递员的帖子

问题描述

我需要编写与工作 PostMan 操作等效的 C#。我知道这很简单,但我被卡住了!最好通过 HttpClient、WebClient、RestSharp 实现。请帮忙。

在此处输入图像描述

标签: httppostmanhttpclientsend

解决方案


您可以在 Postman 中生成代码,RestSharp支持生成。

https://learning.postman.com/docs/sending-requests/generate-code-snippets/


推荐阅读