mardi 27 septembre 2016

Ruby on rails uri.parse is not recognizing local host

Hello I am trying to run this code require "net/http" require "uri" uri = URI.parse("http://localhost:3000/stms_time/") response = Net::HTTP.post_form(uri, 'commit'=>'Submit', 'userid'=>'username', 'env'=>'env','password'=>'pwd')

all I get is garbage. Could you help me solve this issue .

Aucun commentaire:

Enregistrer un commentaire