Skip to content

PATCH Bad Request (400) Using Requests #1274

@masrayie

Description

@masrayie

Environment

  • Python version: 3.7
  • Eve version: latest

iam using requests.patch
i've added If-Match headers on headers like this

headers = {'Content-Type': 'application/json', 'If-Match' : '741372f7206cb126aa465c720ba90d2312bfb308'}

data = {'field_name' : value}
response = requests.patch(api_url, data= data, auth=('uname', 'pswd'), headers=headers)

but i got 400 bad request
could somebody help me ?
or my codes are wrong ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions