Please disable Adblockers and enable JavaScript for domain CEWebS.cs.univie.ac.at! We have NO ADS, but they may interfere with some of our course material.
Name: tests/post_that_shit.rb
1: | #!/usr/bin/ruby |
2: | |
3: | require 'riddl/client' |
4: | require 'json' |
5: | require 'pp' |
6: | |
7: | client = Riddl::Client.new( 'http://localhost:9299/callbacks') |
8: | client.post [Riddl::Header.new('CPEE_CALLBACK','http://solo.wst.univie.ac.at/222'),Riddl::Parameter::Simple.new("form", "resources/form-f.html"),Riddl::Parameter::Simple.new("role","manager"),Riddl::Parameter::Simple.new("dasdasds","adadadad")] |