We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This function just doesn't work.
Example working code with requests:
from requests import post payload = dict(token=token, content='file', action='import', record=record, field='report_file', returnFormat='json') filed = {'file': ('test.html', io.open('test.html', mode='r', encoding='utf-8'))} r = post(url, data=payload, files=filed)
It doesn't help when there's no response from REDCap, but its my issue because this code works and project.import_file doesn't.
project.import_file
The text was updated successfully, but these errors were encountered:
6b71bab
Merge pull request #3 from redcap-tools/pr/210
35e31a4
Fix unit test
Successfully merging a pull request may close this issue.
This function just doesn't work.
Example working code with requests:
It doesn't help when there's no response from REDCap, but its my issue because this code works and
project.import_file
doesn't.The text was updated successfully, but these errors were encountered: