Search for Companies by Domain returns 405 Status code
Every time I try to execute this particular call, I get a 405 error. I’m able to get and post several other calls with no problem. I checked in the Companies section of the GUI, and I see that “Company Domain Name” is set to “hubs123spot.com” so I’m not sure what the problem is. Here’s my code:
Thanks for the response. I added this line to the code:
@curl_setopt($ch, CURLOPT_POST, true);
The call works now, but I am receiving a 400 error: “No content (empty input stream)”. I know that the company I’m searching for: hubs123spot.com, exists. What am I doing wrong?