DB name have spaces

DB name have spaces

How can I get  my DB_name and name_report to use in the API URL when they have spaces.

I have tried different was and in documentation there is nothing regarding how get the DB_name valid for the API