I go this error when I use the rest api call to upload an attachment
I have use the following script to do it
headers = {"X-Atlassian-Token": "no-check"}
with open(image, 'rb') as f:
res = requests.post(
url,
headers=headers,
files={image:f},
auth=some_auth_here
)
I once used the curl command and it works, but not for python scripts. Am I missing some point here?
----------------
problem solved
how?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.