Sana
Sana

Reputation: 91

How to pass variables from windows application to asp website?

I am trying to build a desktop interface for my my website and want to pass variable to the asp sever.but couldn't find a proper way to pass these values more concisely i want to pass variables from separate window form application to a separate asp server.I don't want to pass values to web browser but to directly them to a web server.

Upvotes: 2

Views: 312

Answers (1)

Pedro G. Dias
Pedro G. Dias

Reputation: 3222

In your website, make an API controller that will take your desktop data as a POST request.

From your client, you can then pass data easily, i.e. by serializing to JSON before sending.

Upvotes: 3

Related Questions