Skip to content

Parsing JSON in templates doesn't work in python3 #13

@pmaoui

Description

@pmaoui

Hi,
I had to downgrade to python2 in order to make this works:

Host: jsonplaceholder.typicode.com
Origin: https://jsonplaceholder.typicode.com

TEMPLATE tryit
myvalue: ${json["try"]}

POST /posts | tryit
{ "try": "it" }

with python3 I always had:

myvalue: None

generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions