Webread Sharepoint list: getting strange format strings before/after content
조회 수: 7 (최근 30일)
이전 댓글 표시
I've been using webread to get data from a Sharepoint list into Matlab. It was working just fine until a few days ago. When I tried it again today, the data looks weird in the Matlab table as shown in the picture. Font, size, color , etc. are included before and after the actual content.
My weboptions are: ('HeaderFields', {'Authorization', ['Bearer ', mytoken]; 'Accept-Encoding' 'gzip'; 'Content-Type' 'application/json'}, 'Timeout', 1000). I've tried it with and without the Content-Type header but no difference. The 'Accept-Encoding' is set to avoid some gzip-related error I get sometimes. TIA for any suggestions/guidance.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1232637/image.jpeg)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Web Services에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!