Class NotificationHelper
- Namespace
- SecureExchangesSDK.Helpers
- Assembly
- SecureExchangesSDK.NetCore.dll
Usefull to send a post to a server
public static class NotificationHelper
- Inheritance
-
NotificationHelper
- Inherited Members
Methods
POSTWSJson(string, string, out HttpStatusCode)
Post JSON data
public static string POSTWSJson(string url, string jsonContent, out HttpStatusCode status)
Parameters
urlstringThe url to post the data
jsonContentstringThe json content to post
statusHttpStatusCodeThe status of the answer
Returns
POSTWs(string, string, string, out HttpStatusCode)
Post content to a web service
public static string POSTWs(string url, string content, string contentType, out HttpStatusCode status)
Parameters
urlstringThe url to post the data
contentstringThe data to post
contentTypestringThe content type
statusHttpStatusCodereturn the status of the post