This commit is contained in:
cxt 2016-02-25 09:35:45 +08:00
commit 95170b0b2b
1 changed files with 1 additions and 2 deletions

View File

@ -948,7 +948,6 @@ class StudentWorkController < ApplicationController
}
uri = URI(url)
body = solutions.to_json
binding.pry
res = Net::HTTP.new(uri.host, uri.port).start do |client|
request = Net::HTTP::Post.new(uri.path)
request.body = body
@ -1056,4 +1055,4 @@ class StudentWorkController < ApplicationController
end
end
end
end
end