Last active
August 29, 2015 14:24
-
-
Save hypermix/10df9f0a4c8e3122f9b6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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