Update API to support POST.