dimanche 6 août 2017

InvalidURIError when useing httparty post method and get the some field through users

InvalidURIError (bad URI(is not URI?): http://ift.tt/2uwhAPh 8/7?appId=94f56975&appKey=0a0dc2b64f177ab866f0dba59342ffa4) how can solve this error.useing httparty post method.

flight =HTTParty.post("http://ift.tt/2ug15Mk{params[:from]}/to/#{params[:to]}/departing/#{params[:year]}/ #{params[:month]}/#{params[:day]}?appId=94f56975&appKey=0a0dc2b64f177ab866f0dba59342ffa4")

Aucun commentaire:

Enregistrer un commentaire