{"id":4075,"date":"2011-12-21T01:06:07","date_gmt":"2011-12-21T09:06:07","guid":{"rendered":"http:\/\/www.krunk4ever.com\/blog\/?p=4075"},"modified":"2011-12-21T01:08:45","modified_gmt":"2011-12-21T09:08:45","slug":"you-are-too-awesome-for-ping-o-matic","status":"publish","type":"post","link":"https:\/\/www.krunk4ever.com\/blog\/2011\/12\/21\/you-are-too-awesome-for-ping-o-matic\/","title":{"rendered":"You are too awesome for Ping-o-matic."},"content":{"rendered":"<p>If you&#8217;re trying to automate pinging <a href=\"http:\/\/pingomatic.com\/\">Ping-o-Matic!<\/a> via PHP\/cURL, you may have hit into an issue where the response you get is:<\/p>\n<blockquote><p>You are too awesome for Ping-o-matic.<\/p><\/blockquote>\n<p>To fix this, all you have to do is add a user-agent to your curl options, e.g.<br \/>\n<code>curl_setopt( $ch, CURLOPT_USERAGENT, \"Mozilla\/5.0\" );<\/code><\/p>\n<p>Once you set a user-agent, you should be able to get a valid response and have the Ping-o-Matic service ping all the services for you. Of course if you run that script too often, they&#8217;ll probably reject your request and tell you to slow down.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;re trying to automate pinging Ping-o-Matic! via PHP\/cURL, you may have hit into an issue where the response you get is: You are too awesome for Ping-o-matic. To fix this, all you have to do is add a user-agent to your curl options, e.g. curl_setopt( $ch, CURLOPT_USERAGENT, &#8220;Mozilla\/5.0&#8221; ); Once you set a user-agent, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.krunk4ever.com\/blog\/2011\/12\/21\/you-are-too-awesome-for-ping-o-matic\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;You are too awesome for Ping-o-matic.&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12,11],"tags":[1431],"_links":{"self":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts\/4075"}],"collection":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/comments?post=4075"}],"version-history":[{"count":0,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/posts\/4075\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/media?parent=4075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/categories?post=4075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.krunk4ever.com\/blog\/wp-json\/wp\/v2\/tags?post=4075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}