creates the right Android/iOS url in postToSpace function inside helperFunction.js