Decorate ajax_http_handler with @csrf_exempt to test POST method while not implement front-end side login to add csrf token to AJAX POST request.