Sha256: bea7b0b898f638a500097404e231f66a5f39b47581e411030edd74315518939c

Contents?: true

Size: 172 Bytes

Versions: 9

Compression:

Stored size: 172 Bytes

Contents

require "rubygems"
require "uri"
require "curb"

Curl::Easy.http_post(
  "http://localhost:8080/remote_control/commands",
  "javascript=#{URI.encode("alert('hey you')")}"
)

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
honkster-js-test-server-0.2.12 scratch.rb
honkster-js-test-server-0.2.11 scratch.rb
honkster-js-test-server-0.2.10 scratch.rb
honkster-js-test-server-0.2.9 scratch.rb
js-test-server-0.2.8 scratch.rb
js-test-server-0.2.7 scratch.rb
js-test-server-0.2.6 scratch.rb
js-test-server-0.2.1 scratch.rb
js-test-server-0.2.0 scratch.rb