Skip to content

Add Python output format #5

Description

@philipnorton42

Add an output format to render Python web requests.

Something like this:

import requests

url = 'https://example.com/'
method = 'POST'
data = '{"key":"value"}'
headers = {'Content-Type': 'Content-Type: application/json'}
cookies = {}
auth = ('user:password')
proxies = {}
verify = False

response = requests.request(method, url, headers=headers, data=data, cookies=cookies, auth=auth, proxies=proxies, verify=verify)

print(response.text)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions