Why do I get "AxiosError" when submitting certain array datatypes to the MATLAB Production Server?
显示 更早的评论
I can successfully deploy JSON requests to the MATLAB Production Server (MPS) in MATLAB R2022a when including data for variables like integer arrays. However, when including string arrays in the JSON input, I am unable to send the request to the MPS and get the following error:
AxiosError: Request failed with status code 400
I am following the documentation below for formatting string arrays in the JSON notation, so I can't figure out what the issue is:
https://www.mathworks.com/help/releases/R2022a/mps/restfuljson/json-representation-of-matlab-data-types.html
What is the reason for this issue?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 RESTful API 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!