Hopefully this will be helpful to someone else.
We needed to send a http post with a content-type of application/json and parse a JSON string from the http response. I used the .Net Code Execute task to make the call and to parse the JSON returned. Below is the code generalized to allow for easy customization. Be sure to include a reference to System.Runtime.Serialization.dll and System.Web.Extensions.dll. Here is a links to a MSDN article on
JSON serialization
}
Edited by moderator
8 years ago
|
Reason: Not specified