Arrange alternate layers of cucumbers, green tomatoes, onions and salt in a bowl. Let stand 6 to 8 hours, or overnight. Drain.
Combine the remaining ingredients in a 4-quart kettle and bring to a boil. Add the cucumbers, tomatoes and onions and boil until the vegetables are clear, 5 to 10 minutes.