Cloud computing deployment model has: IAAS, PAAS, SAAS, and they can provide calls for the clients by web services. REST-style cloud computing architecture represents resource by the URI, and operates resources by standard HTTP methods GET, PUT, POST, DELETE, etc. In this paper, the e-city website as example, using REST methods to architect website, logistics, customer, the pay bank. The architecture fully reflects the REST architectural style is simple and convenient. But REST flaw is that the limited transaction-oriented processing capabilities. In order to solve this problem, WASL (Web Application Description Language) is used to describe the REST API.