Merge branch 'szzh' of https://git.trustie.net/jacknudt/trustieforge into szzh
This commit is contained in:
commit
95170b0b2b
|
@ -948,7 +948,6 @@ class StudentWorkController < ApplicationController
|
||||||
}
|
}
|
||||||
uri = URI(url)
|
uri = URI(url)
|
||||||
body = solutions.to_json
|
body = solutions.to_json
|
||||||
binding.pry
|
|
||||||
res = Net::HTTP.new(uri.host, uri.port).start do |client|
|
res = Net::HTTP.new(uri.host, uri.port).start do |client|
|
||||||
request = Net::HTTP::Post.new(uri.path)
|
request = Net::HTTP::Post.new(uri.path)
|
||||||
request.body = body
|
request.body = body
|
||||||
|
@ -1056,4 +1055,4 @@ class StudentWorkController < ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue