I am using a api to fetch product in my application. In this api, we need to send api_key in header through curl. How can I do that?
In order to get custom headers into your curl you should do something like the following:
curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'api_key: xxxxx' ));
Username
Password
Remember Me
Lost your password?
Username or E-mail:
Log in