none
Running Curl command from C# MVC application

    Question

  • Hi all,

    I want to run the following "Curl" command from an MVC application which I am creating using C#. This is basically to get the server health information from New Relic API.

     

    curl -X GET 'https://api.newrelic.com/v2/applications.json' -H 'X-Api-Key:<API_KEY>' -i  -G -d  filter[name]=<MachineName' 

    When I run above command in 'cmd' I am getting the required result. But I want to run above 'Curl' command from C# MVC application, how can I do this ? 

    Please help me.

    Thanks,


    Wednesday, September 28, 2016 12:18 PM

Answers

All replies