Hi,
I have this curl string required by an email verification vendor I use. Inside my php file I wish to run it. Apparently there is a problem with the syntax as I’m getting the following error in the browser:
”Parse error: syntax error, unexpected '--' (T_DEC) in /var/www/html/wp-content/plugins/dw_functionality_plugin/dw_functionality_plugin.phpon line 398
Here is the code string:
<
curl --request POST\
--url 'https://api.neverbounce.com/v4/single/check?key={' . api_key . '}&email={' . email . '};
>
any help much appreciated!