Here's the code:
jQuery.post('/assets/api/addToPicks.php', {imagePath: theImagePath, clientPath: theClientPath}, function() {
jQuery.get('/site/templates/snippetServer.php', function(data) {
jQuery('#picks').html(data);
});
});
The first call to /assets/api/addToPicks.php works fine (I've tried it all by itself and get no error).
But the second call to /site/templates/snippetServer.php generates a consistent error (even when called by itself, separate from the jQuery.post()):
http://www.brp.dev/site/templates/snippetServer.php 301 Moved Permanently
Both files do exist at those paths.
I am stumped.
Bob