I am trying to post a payload to a rest endpoint using the python requests library and having an issue with the formatting of the endpoint. The below code works: