Windows Service to host Post Request

Last Reply 15 days ago By dharmendr

Posted 15 days ago

Dear All,

with my pervious question https://www.aspforums.net/Threads/111256/HTTP-Post-Request/

I want to create windows service for the above question. Can you please suggest me how can I proceed.

Thanks

irshad1231 has viewed this question 10 days ago.
Posted 15 days ago

Hi irshad1231,

Refer below article for creating Windows Service. 

Windows Service Hello World example in C# and VB.Net


Posted 15 days ago

@dharmendr Thanks for your response. The replied refernce you shared is for creating windows service which I already addded. I want to add 

HttpApiService in windows service for below information.

Link: /api/sickleave/create

HTTP Method: POST

ContentType: Application/Json

Fields: Id,name, date, ...

Thanks