0
我使用 紅寶石2.3.0p0(2015年12月25日修訂53290)x86_64的Linux的] 的Rails 4.2.4Rails 4:如何發送短信API的http請求?
我有短信集成API,它需要發送HTTP請求像下面
http://123.63.33.43//blank/sms/user/urlsmstemp.php?username=XXXX&pass=XXXX&senderid=XXXX&dest_mobileno=#XXXX&tempid=45902&response=Y
我需要在創建記錄後執行它的背景。 在此先感謝。
RestClient.get 'http://123.63.33.43//blank/sms/user/urlsmstemp.php?username=XXXX&pass=XXXX&senderid=XXXX&dest_mobileno=#XXXX&tempid=45902&response=Y' 示出錯誤的URL中的begining –
附加協議url' http://''或'https://' – hgsongra
我附加了..要包括在評論中。結果相同 –