From 2139e672e71393265781483ca200ef0729182614 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sat, 13 Mar 2021 18:03:09 +0800 Subject: update --- tools/osm/osm.api.changeset.commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/osm/osm.api.changeset.commit') diff --git a/tools/osm/osm.api.changeset.commit b/tools/osm/osm.api.changeset.commit index 8fe8125..3c6188a 100755 --- a/tools/osm/osm.api.changeset.commit +++ b/tools/osm/osm.api.changeset.commit @@ -42,7 +42,7 @@ EOF # Return http code after uploading a file uploade_file_to_changeset() { - curl $OSM_API/changeset/${changeset_id}/upload \ + curl -X POST $OSM_API/changeset/${changeset_id}/upload \ --user ${OSM_USER_PASSWD} -i \ --upload-file - \ --silent -o /dev/null -w "%{http_code}" -- cgit v1.2.3-70-g09d2