Skip to content

No Mapping Rule matched #24

@cjing1

Description

@cjing1

Hi, I am trying to run the code with the demo image on Jupyter Notebook, but receive the following error:
No Mapping Rule matched

Did I not insert the image in the right way?

import requests

# I put my own id and key here
headers = {
    "app_id": " ",
    "app_key": " "
}

payload = '{"image":" https://media.kairos.com/kairos-elizabeth.jpg "}'

url = "https://api.kairos.com"

# make request
r = requests.post(url, data=payload, headers=headers)
print(r.content)

Metadata

Metadata

Assignees

No one assigned

    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