I have this code:
let urlString = "https://roads.googleapis.com/v1/snapToRoads?path="
let url = URL(string: urlString)
print(url)// Escribe=> nil
let request = NSMutableURLRequest(url:url)//Aqui da error
the error it gives is: fatal error: unexpectedly found nil while unwrapping an Optional value
The problem I think is the length of the url. what happened many parameters