http://www.perlmonks.org?node_id=190264


in reply to I know this should be easy but ...

You can have a CGI script return status code 204, do nothing. If you're using CGI.pm, the syntax is something like:
print $query->header(-status=>'204 No response');

I have done this from javascript to post things to the server without expecting a return.

Tiago