diff options
Diffstat (limited to 'tools/osm/osm.api.changeset.commit')
-rwxr-xr-x | tools/osm/osm.api.changeset.commit | 2 |
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 |
44 | uploade_file_to_changeset() { | 44 | uploade_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}" |