Skip to content

Commit 0ac699c

Browse files
authored
Merge pull request #147 from plotly/fix-plotlygetfile
plotlygetfile: make an HTTP GET request instead of a POST
2 parents 9cfd841 + 376fedb commit 0ac699c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plotly/plotly_aux/plotly_version.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
function version = plotly_version()
2-
version = '2.2.9';
2+
version = '2.2.10';
33
end

plotly/plotly_aux/plotlygetfile.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
url = [domain, '/apigetfile/', file_owner, '/', num2str(file_id)];
2424

25-
[response_string, extras] = urlread2(url, 'Post', '', headers);
25+
[response_string, extras] = urlread2(url, 'Get', '', headers);
2626
response_handler(response_string, extras);
2727
response_object = loadjson(response_string);
2828
figure = response_object.payload.figure;

0 commit comments

Comments
 (0)