Controlling dropdown options with JSON response

@mikemoynihan99 sessionpostcode is the user’s input for their postcode which is stored within the session. This is parsed through the getAddresses function and returns the JSON response in the above example. With this response, I want to update the dropdown box options with all of the returned addresses (first line only).