I found some documentation. Seems I was doing it right all along. I think
my problem is at the server end.