I am using Codeigniter to develop APIs and I am required to accept data in application/x-www-form-urlencoded format instead of JSON.
I am not getting how to store and input request data as array in a variable.
多次使用相同的键,并在最后放置方括号。
animals[]=cat&animals[]=dog
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.