Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlePython | requests
with open(output.filename, 'rb') as zip_file:
    r_create_create_layer = requests.put("http://localhost:8090/geoserver/rest/workspaces/" + workspace  + "/coveragestores/" + coveragestore  + "/file.netcdf", 
        auth=('admin', 'geoserver'), 
        data=zip_file,
        headers=headers_zip)

...