examples/api-samples/samples/sample04.rb in groupdocs-1.6.0 vs examples/api-samples/samples/sample04.rb in groupdocs-1.7.0
- old
+ new
@@ -1,11 +1,11 @@
#GET request
-get '/sample04' do
+get '/sample-4-how-to-download-a-file-from-groupdocs-storage-using-the-storage-api' do
haml :sample04
end
#POST request
-post '/sample04' do
+post '/sample-4-how-to-download-a-file-from-groupdocs-storage-using-the-storage-api' do
#Set variables
set :client_id, params[:clientId]
set :private_key, params[:privateKey]
set :file_id, params[:fileId]
set :url, params[:url]