changed public URLs from / to /sensor for POST en JSON