Was not properly testing body, and was not passing state

@nahiluhmot

State was getting dropped but is required for the API endpoint.