|
From: | Dora Kocsis |
Subject: | [Octave-bug-tracker] [bug #58217] webread returns char array instead of struct |
Date: | Mon, 20 Apr 2020 13:24:55 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36 |
URL: <https://savannah.gnu.org/bugs/?58217> Summary: webread returns char array instead of struct Project: GNU Octave Submitted by: kdlinda Submitted on: Mon 20 Apr 2020 05:24:54 PM UTC Category: Octave Function Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Release: dev Discussion Lock: Any Operating System: Any _______________________________________________________ Details: Webread seems to ignore the content type specified by weboptions and returns a char row vector instead of a struct for the below query. options = weboptions('ContentType', 'json'); url = 'https://api.db.nomics.world/v22/series?observations=1&series_ids=AMECO/ZUTN/EA19.1.0.0.0.ZUTN&offset=0'; response_ = webread(url); class (response_) _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58217> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |