Using POST with JSON body that contains credentials