Changed advertise API

ID is now part of the URL, not sent in the data. You now
just send the data object itself.