Postman chrome extension with array of hashes as value

三世轮回 提交于 2019-12-03 15:35:29
Matt Stanford

You can put nested sub-keys in brackets. So you could define some of your key/value pairs in the form-data fields like this:

key: work_experience[0][company_name] 
value: asdfdfaf

key: work_experience[0][end_date] 
value: 12/21/2121

key: work_experience[1][company_name]
value: fdjfkjdfjk

key: work_experience[1][end_date]
value: 1/3/15

You can try you sending it as a "raw" data" (and not a form-data or form-urlencoded)

U can also try as below... its worked for me

key: work_experience[0].company_name value: asdfdfaf

key: work_experience[0].end_date value: 12/21/2121

key: work_experience[1].company_name value: fdjfkjdfjk

key: work_experience[1][end_date] value: 1/3/15

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!