Skip to content

Commit a384dbd

Browse files
committed
plotlygetfile: make an HTTP GET request instead of a POST
1 parent 9cfd841 commit a384dbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)