Class NotificationHelper
- Espace de noms
- SecureExchangesSDK.Helpers
- Assembly
- SecureExchangesSDK.NetCore.dll
Usefull to send a post to a server
public static class NotificationHelper
- Héritage
-
NotificationHelper
- Membres hérités
Methods
POSTWSJson(string, string, out HttpStatusCode)
Post JSON data
public static string POSTWSJson(string url, string jsonContent, out HttpStatusCode status)
Paramètres
urlstringThe url to post the data
jsonContentstringThe json content to post
statusHttpStatusCodeThe status of the answer
Retour
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)
Paramètres
urlstringThe url to post the data
contentstringThe data to post
contentTypestringThe content type
statusHttpStatusCodereturn the status of the post