aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/osm/osm.api.changeset.commit
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2021-03-13 18:03:09 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2021-03-13 18:03:09 +0800
commit2139e672e71393265781483ca200ef0729182614 (patch)
tree44eeb9907989f99602f4660aed2176b0e8fc28f2 /tools/osm/osm.api.changeset.commit
parent192014f56017b279cf5f8582118f60b0756846c4 (diff)
update
Diffstat (limited to 'tools/osm/osm.api.changeset.commit')
-rwxr-xr-xtools/osm/osm.api.changeset.commit2
1 files changed, 1 insertions, 1 deletions
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
42 42
43# Return http code after uploading a file 43# Return http code after uploading a file
44uploade_file_to_changeset() { 44uploade_file_to_changeset() {
45 curl $OSM_API/changeset/${changeset_id}/upload \ 45 curl -X POST $OSM_API/changeset/${changeset_id}/upload \
46 --user ${OSM_USER_PASSWD} -i \ 46 --user ${OSM_USER_PASSWD} -i \
47 --upload-file - \ 47 --upload-file - \
48 --silent -o /dev/null -w "%{http_code}" 48 --silent -o /dev/null -w "%{http_code}"