Web API Reference Guide > Data Types > Request Data Types

Request Data Types

Request data may be encoded into several primitive types. Since all data is eventually represented as UTF-8 strings, these types mostly define what characters are considered valid for data of a specific type. Additional validation rules may apply for specific parameters.

fruits[0]=apple&fruits[1]=orange&fruits[2]=banana

Since request parameter names must be URL-encoded, the above parameter will actually be sent as:

fruits%5B0%5D=apple&fruits%5B1%5D=orange&fruits%5B2%5D=banana

UserInfo[name]=Tuco&UserInfo[lastname]=Ramirez

Since request parameter names must be URL encoded, the above parameter will actually be sent as:

UserInfo%5Bname%5D=Tuco&UserInfo%5Blastname%5D=Ramirez

 

Read Also

  Response Data Types