Thank you Sam, after changing the rewrite rule for the url, the curl output I get now is this:
<html>
<head><title>302 Found</title></head>
<body>
<center><h1>302 Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
The reason I gave the web output is because I was getting a 404 page not found via my Wordpress install from my curl output. But it’s still not getting the proper output. I’m guessing there is more to the htaccess file than the url to access the API.