title: postman chrome shows 404 error on calling of wordpress url from .net
body: <p>In a project, I have to show wp posts in website via .net. So, I created a php file in project root folder as 'latestnews.php'. When called from browser, everything is working fine and data is shown. But in postman though the data is shown status is coming as 404 not found.</p>
  
  <p>How to solve this issue? Any help/suggestions are welcome. Url: <a href="http://109.74.4.178/worldwaterweek/latestnews.php?numberposts=5" rel="nofollow noreferrer">http://109.74.4.178/worldwaterweek/latestnews.php?numberposts=5</a></p>
  
  <p>latestnews.php</p>
  
  <pre><code>&lt;?php
  define('WP_USE_THEMES', false);
  require( dirname( __FILE__ ) . '/wp-blog-header.php' );
  
  $num = $_GET["numberposts"] ?: '10';
  
  $posts = get_posts(array(
      'posts_per_page'   =&gt; $num,
      ));
  $array = array();
  
  foreach($posts as $val) {
      start_wp();
      $array[] = array(
              'id' =&gt; $val-&gt;ID,
              'title' =&gt; $val-&gt;post_title,
              'link' =&gt; get_permalink($val-&gt;ID),
              'publish_date' =&gt; $val-&gt;post_date,
              'content' =&gt; strip_tags($val-&gt;post_content),
              'image' =&gt; get_the_post_thumbnail_url($val-&gt;ID, 'full')
          );
  }
  echo json_encode($array);
  ?&gt;
  </code></pre>