我有此POST示例数据,我想构建相应的c#类来填充它们,然后以导致如下所示的请求的方式调用POST(/ api / stockupload)。我怎样才能做到这一点?可以使用JSON吗?
POST /api/stockupload
200 OK 140 bytes 336 ms
PARAMETERS:
articles[0][article_id]: 4654-AB-XG
articles[0][brand_id]: 30
articles[0][quantity]: 80
articles[0][prices][1]: 5.30
articles[0][prices][3]: 5.80
articles[0][prices][12]: 5.99
articles[1][article_id]: AB8888-123
articles[1][brand_id]: 80
articles[1][quantity]: 35
articles[1][prices][1]: 4.25
articles[1][prices][2]: 6.30
articles[1][prices][8]: 5
在此先感谢您的帮助。
相关分类