Skip to content

Commit f4a7c5e

Browse files
committed
chore(discovery): add http method and disable ssl to new discovery methods
1 parent 14249fb commit f4a7c5e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Scripts/Services/Discovery/v1/Discovery.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,8 @@ public bool CreateTokenizationDictionary(SuccessCallback<TokenDictStatusResponse
38583858
CreateTokenizationDictionaryRequestObj req = new CreateTokenizationDictionaryRequestObj();
38593859
req.SuccessCallback = successCallback;
38603860
req.FailCallback = failCallback;
3861+
req.HttpMethod = UnityWebRequest.kHttpVerbPOST;
3862+
req.DisableSslVerification = DisableSslVerification;
38613863
req.CustomData = customData == null ? new Dictionary<string, object>() : customData;
38623864
if (req.CustomData.ContainsKey(Constants.String.CUSTOM_REQUEST_HEADERS))
38633865
{
@@ -3962,6 +3964,8 @@ public bool DeleteTokenizationDictionary(SuccessCallback<object> successCallback
39623964
DeleteTokenizationDictionaryRequestObj req = new DeleteTokenizationDictionaryRequestObj();
39633965
req.SuccessCallback = successCallback;
39643966
req.FailCallback = failCallback;
3967+
req.HttpMethod = UnityWebRequest.kHttpVerbDELETE;
3968+
req.DisableSslVerification = DisableSslVerification;
39653969
req.CustomData = customData == null ? new Dictionary<string, object>() : customData;
39663970
if (req.CustomData.ContainsKey(Constants.String.CUSTOM_REQUEST_HEADERS))
39673971
{
@@ -4037,6 +4041,8 @@ public bool GetTokenizationDictionaryStatus(SuccessCallback<TokenDictStatusRespo
40374041
GetTokenizationDictionaryStatusRequestObj req = new GetTokenizationDictionaryStatusRequestObj();
40384042
req.SuccessCallback = successCallback;
40394043
req.FailCallback = failCallback;
4044+
req.HttpMethod = UnityWebRequest.kHttpVerbGET;
4045+
req.DisableSslVerification = DisableSslVerification;
40404046
req.CustomData = customData == null ? new Dictionary<string, object>() : customData;
40414047
if (req.CustomData.ContainsKey(Constants.String.CUSTOM_REQUEST_HEADERS))
40424048
{

0 commit comments

Comments
 (0)