1

I have a C# Handler which I am calling at a regular interval using a Windows Task.
The Handler generates a Json object, which I need to be posted to a different PHP page.
The json object generation is working fine. But how can I specify a PHP page in the C# Handler code to be redirected?
I tried to set the path of the PHP page to context.Response.RedirectLocation. But how can I pass the JSON data to this page via POST.
Also I'm able to send the JSON data back as context.Response.Write(json); , but is doesn't redirect to the required page, It just displayed the JSON content in the browser.
Can anyone help me?

Jérôme Teisseire
  • 1,493
  • 1
  • 16
  • 25
Sooraj
  • 197
  • 1
  • 2
  • 9

1 Answers1