-
First Check
Commit to Help
Example CodeI don't have any example code, that's what I'm hoping someone can share with me.DescriptionIt's been nearly a decade since I've developed last. I am using Visual Studio 2022 and a lot has changed since I used VS2008. I am trying to develop a Windows service "agent" that will submit (on a timer), information to FastAPI, which is currently running on a Linux server. For the life of me, I cannot figure out how to do this. All the documentation online that I see appears to be so centrally focused on either submitting information from the server to the agent, or doing things on the server. I've seen nothing related to how to submit information from a CLIENT (in this case, written in C#) to the server API. I know how to send an HTTP request (or post) in C#, but no idea what I should be doing with respect to Fast API. I would really appreciate any help or advice that anyone can give me. I feel like I'm missing the big picture here because everything I see is written in Python, and I'm doing this in C#. Why do I not see any example code anywhere for submitting TO the API from a client? Thank you so much for anyone who is willing to help me... Operating SystemWindows Operating System DetailsNo response FastAPI VersionLatest Python VersionNone Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
you can make a separate router for your client and do ip filtering if the client is on a static server(something like that) and on the FastApi side to do the necessary actions |
Beta Was this translation helpful? Give feedback.
you can make a separate router for your client and do ip filtering if the client is on a static server(something like that)
and on the FastApi side to do the necessary actions