Skip to content

Instantly share code, notes, and snippets.

@hypermix
Last active August 29, 2015 14:24
Show Gist options
  • Save hypermix/10df9f0a4c8e3122f9b6 to your computer and use it in GitHub Desktop.
Save hypermix/10df9f0a4c8e3122f9b6 to your computer and use it in GitHub Desktop.
/*
public function openPaymentPage(Request $request) {
$user_id = $request->json('user_id');
// how to redirect post another server with paramters?
// i cant find any solution with googling..
// is it possible?
return redirect()->to('http://myserver.com/testpost', array('user_id' => $user_id));
// i had try to above code..
// but return is "InvalidArgumentException in Response.php line 470: The HTTP status code "1" is not valid."
// pls somebody help me.
}
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment