Skip to content

Commit edd2870

Browse files
Update sendRequest.m
Adding tracking code for SDK requests
1 parent 546e394 commit edd2870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolbox/internal/sendRequest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
% Construct the HTTP request object
66
requestObj = matlab.net.http.RequestMessage;
77
requestObj.Method = httpMethod;
8-
requestObj.Header = [requestObj.Header, matlab.net.http.HeaderField("Content-Type","application/json"), matlab.net.http.HeaderField("Accept","application/json"), matlab.net.http.HeaderField("s_tid","ml_sdk")];
8+
requestObj.Header = [requestObj.Header, matlab.net.http.HeaderField("Content-Type","application/json"), matlab.net.http.HeaderField("Accept","application/json"), matlab.net.http.HeaderField("MLC-SDK-Id","ml-sdk")];
99

1010
% If created_before is present, convert to ISO 8601 format
1111
if isfield(optionalArgs, 'created_before')

0 commit comments

Comments
 (0)