Create a formula on Ritchie that will return the address datas from a ZipCode.
This formula needs to contain (at least) this input parameter:
The formula needs to follow the next steps:
Validate the ZipCode input format.
Call a service to get the address datas from the ZipCode.
Convert address datas to JSON format.
Return the result on the terminal.
If you want to play a little more, here are some suggestions:
Code a formula which will allow the user to get the ZipCode by entering address datas.\
👉 If you've completed the fourth challenge, let's go to the level 5 task!