Redirect to external URL with return in laravel
问题 I am trying to send one time password to a user using SMS INDIA HUB API. For that purpose I need to redirect to a URL format: http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user=abc&password=xyz&msisdn=919898xxxxxx&sid=SenderId&msg=test%20message&fl=0&gwid=2 If we load this URL, it will return some message. I need to get that message to. I tried like this $url = "http://cloud.smsindiahub.in/vendorsms/pushsms.aspx?user=wwww&password=eee&msisdn=9197xxxxx&sid=yyyyy&msg=rrrrr&fl=0&gwid=2";