Skip to content

single POST requests #11

Closed Answered by kaliiiiiiiiii
Pingo-v0 asked this question in Q&A
Jan 23, 2023 · 4 comments · 12 replies
Discussion options

You must be logged in to vote

Post-requests

Example Script:

post-data = {"message":"Hello world!"}
headers = {
        "accept": "application/json",
        "accept-encoding": "gzip, deflate, br",
        "accept-language": profile["cdp"]["useragent"]["acceptLanguage"],
        "content-type": "application/json",
        "sec-ch-ua": "'Google Chrome';v='107', 'Chromium';v='107', 'Not=A?Brand';v='24'",
        "sec-ch-ua-mobile": "?0",  # "?1" for mobile
        "sec-ch-ua-platform": "'" + profile['cdp']['useragent']['userAgentMetadata']['platform'] + "'",
        "sec-fetch-dest": "empty",
        "sec-fetch-mode": "cors",
        "user-agent": profile['cdp']['useragent']['userAgent']
    }

answer = driver.profiles.f…

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@Pingo-v0
Comment options

@kaliiiiiiiiii
Comment options

@Pingo-v0
Comment options

@kaliiiiiiiiii
Comment options

@Pingo-v0
Comment options

Comment options

You must be logged in to vote
7 replies
@Pingo-v0
Comment options

@kaliiiiiiiiii
Comment options

@kaliiiiiiiiii
Comment options

@Pingo-v0
Comment options

@kaliiiiiiiiii
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kaliiiiiiiiii
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation FAQ Common questions dev Development for dev branch
2 participants