Unexpected error posting mutation via graphql

Solved. The URL was malformed:

http://localhost:8080//graphql
                      ^                                      

Note the duplicated forward slash after the port.