Your & should be ?. See URL query format.
&
?
If you want to use the header and catch request errors, look into curl.