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


in reply to Rest API testing with perl

Check the server error log to determine why it is returning the 500 (internal server error) to your client.