This post is mainly a note for myself. I was searching how to get a segment of an url (including some / characters) into a single parameter. The response is on stack overflow : use a regex. The goal for me is to reroute a subset of RESTFUL call to the server really implementing the services.
A usefull link to a tip (in French) on MacOs : http://www.journaldulapin.com/2012/11/15/recevoir-des-fichiers-en-bluetooth-sur-un-mac/ By default, you can’t receive files via BT on MacOs. You have to activate it in System Preferences/share.