Skip Navigation LinksHome Page > Forums > SpiraTest Forums > SpiraTest Issues & Questi... > Sample Code to do post an...
/usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/abstract_response.rb:223:in `exception_with_response': 400 Bad Request (RestClient::BadRequest)
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/abstract_response.rb:103:in `return!'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/request.rb:860:in `process_result'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/request.rb:776:in `block in transmit'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/net/http.rb:853:in `start'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/request.rb:766:in `transmit'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/request.rb:215:in `execute'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in `execute'
from /usr/local/lib/ruby/gems/2.2.0/gems/rest-client-2.0.0/lib/restclient.rb:67:in `get'
from webservicesample.rb:11:in `<main>
Moreover I am not able to perform any GET or POST request. Please help!!!!!!!!
And if you have any questions, please email or call us at +1 (202) 558-6885