Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rest-client'
- result = RestClient::Request.new(
- method: :put,
- url: '10.10.10.61:3000/cake_eater/robots/team1',
- user: 'team1',
- password: 'secret',
- payload: {'action' => "move_west"}.to_json
- ).execute
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement