Monday, April 10, 2017

Want to get redirect URL after sending post Curl request

I am sending a basic auth request to a site to log in a user. If they credentials are correct I want to show the dashboard. Therefore I need the redirectURL coming in "redirect_url" under "+curl: curl resource @212 ▼" This is my code. And I want to get the redirect url in $redirectUrl 1

I want to get this "redirect_url"'s value 2



via Talal_Mirza

Advertisement