Skip to content

Failed to get the response content when using requests.post  #12

@loctar665

Description

@loctar665

Hi, Im trying to download the ds084.1 data by rdams_client.py, the response code is 200, while the content of response is empty. I got the sample control_file via rc.get_control_file_template(dsid), and the **template_dict** via rc.read_control_file(template). When i used rc.submit_json(template_dict) to got the response, it occured **json.decoder.JSONDecoderError: Expecting value: line 1 column 1 (char 0)**, the status code of response via requests.post was 200, but the content of response is **b' '**. I would like to consult you on a solution to this situation, Im looking forward the response from you, thanks in advance.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions