Replies: 1 comment 1 reply
-
right on the first page of issues #2898 its being worked on slowly |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to do something like this, but with no positive result
The json syntax is correct, but the "response code" at the end is :
b'<!doctype html>\n\n<title>400 Bad Request</title>\n
Bad Request
\n{'operation': None, 'selector': '', 'optional_value': ''} is not of type 'string'
\n'Failed validating 'type' in schema[0]['items']:
{'type': 'string', 'maxLength': 5000}
On instance[0]:
{'operation': None, 'selector': '', 'optional_value': ''}
Code :
headers_put = { 'Content-Type': 'application/json', 'x-api-key': 'xxxxxxxxxxxxxx' }
amazon_tag_json = '''
{ "browser_steps":
[
{
"operation": null,
"selector": "",
"optional_value": ""
}
] } '''
amazon_tag_dict=json.loads(amazon_tag_json)
response = session.put(url_gui02, headers=headers_put, json=amazon_tag_dict)
Any idea why ?
Regards
Beta Was this translation helpful? Give feedback.
All reactions