Page 1 of 1

URL Parameter

Posted: Sat Dec 21, 2013 5:09 pm
by Mucher
i have a problem using the url-parameter in the API.
I want to send an german address (via googlemaps) to my device. For that I am using the url parameter. Unfortunally everytime I send an address (e.g. "ße 1, Köln") i get an error and Prowl says that the url is NULL. I already recognized that the url only becomes NULL if there is a letter like Ü,Ö,Ä,ß or a Space. I have tried things like UTF8Encoding but that doesnt work either.

Is there anyone who can help?

Re: URL Parameter

Posted: Sat Dec 21, 2013 11:03 pm
by zac
I believe you'll need to url encode the attributes in your URL string which are causing the problem, e.g. this URL works: ... 0K%C3%B6ln

I am weary about 'fixing' this problem because people typically pipe URLs directly into Prowl, and many are already encoded before being passed in. Double-encoding them would cause problems.

Re: URL Parameter

Posted: Tue Dec 24, 2013 2:10 pm
by Mucher
Thanks for your answer.
I tried as you told me and replaced every ä,ö,ü,ß by the appropriate UTF8-code, but that does not work neither.
Then I tested the url you posted in your answer and even that won't work. I get the error "NULL".

This is a very important thing for me as i am using prowl for several dispatcher tasks.

I found another way by replacing ä by ae, ö by oe etc., however there are some interpretation errors at googles.

Do you have any idea?

PS: Merry Christmas at all!

Re: URL Parameter

Posted: Tue May 20, 2014 8:15 pm
by Mucher
Are there any news on this topic?
I still have these problem and it is really annoying, concerning the interpretation errors of google's.
Are there meanwhile any other tips?

Re: URL Parameter

Posted: Wed May 21, 2014 2:19 am
by zac
Can you share some example URLs which are failing? Feel free to email me ( if they are sensitive.

Re: URL Parameter

Posted: Wed May 21, 2014 7:33 am
by Mucher
I have my "basic" URL: ""

Now I add the address I want to attach, e.g "Turmstraße 1, Köln", so the entire URL is "ße 1, Köln". With that URL Prowl says it is NULL.
I also tried manuell UTF-8-Encoding and used an URL like: "" but it's the same problem here.
I suppose that in this case Prowl decodes the string, gets chars like ß and ö and sets the URL to NULL.

When I tried to write the URL like ",Koeln", Prowl accepts that URL, but now Google Maps has some problems finding the right adress, especially the house number. (Not in this address, but there are others)