We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4acb5f commit 9039796Copy full SHA for 9039796
src/io/files.js
@@ -950,7 +950,7 @@ function files(p5, fn){
950
* }
951
*
952
* function mousePressed() {
953
- * httpPost(url, 'json', postData, function(result) {
+ * httpPost(url, postData, 'json', function(result) {
954
* strokeWeight(2);
955
* text(result.body, mouseX, mouseY);
956
* });
@@ -970,8 +970,8 @@ function files(p5, fn){
970
971
* httpPost(
972
* url,
973
- * 'json',
974
* postData,
+ * 'json',
975
* function(result) {
976
* // ... won't be called
977
* },
0 commit comments