Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: post json support#998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
bbangg wants to merge2 commits intoFlareSolverr:master
base:master
Choose a base branch
Loading
frombbangg:improvement

Conversation

bbangg
Copy link

  • Added contentType for specifying the content type. Supported types:application/json,application/x-www-form-urlencoded
  • Addedselenium_fetch package for using fetch with the driver.

Examples:

Example request to postapplication/json:

{"cmd":"request.post","url":"http://example.com","contentType":"application/json","postData":"{\"key\":\"myKey\",\"value\":\"epicValue\"}"}

Example request to postapplication/x-www-form-urlencoded:

{"cmd":"request.post","url":"http://example.com","contentType":"application/x-www-form-urlencoded","postData":"a=b&c=d"}

@4D5A90
Copy link

any news for this feature?

@bbangg
Copy link
Author

any news for this feature?

It's not merged yet. If you still want the support just use my fork. It has a 'improvement' branch.

4D5A90 reacted with heart emoji

@4D5A90
Copy link

4D5A90 commentedApr 3, 2024
edited
Loading

I've tested but i keep getting this error when i want to POST json

Error: Message: unknown error: session deleted because of page crashfrom unknown error: cannot determine loading statusfrom tab crashed  (Session info: chrome=117.0.5938.92)Stacktrace:0   chromedriver                        0x0000000102f82018 chromedriver + 50422001   chromedriver                        0x0000000102f79743 chromedriver + 50071712   chromedriver                        0x0000000102b203b6 chromedriver + 4474143   chromedriver                        0x0000000102b05883 chromedriver + 3380514   chromedriver                        0x0000000102b04333 chromedriver + 3325955   chromedriver                        0x0000000102b049e9 chromedriver + 3343136   chromedriver                        0x0000000102b15a48 chromedriver + 4040407   chromedriver                        0x0000000102b2dbce chromedriver + 5027348   chromedriver                        0x0000000102bb240f chromedriver + 10455199   chromedriver                        0x0000000102b96433 chromedriver + 93086710  chromedriver                        0x0000000102b61062 chromedriver + 71280211  chromedriver                        0x0000000102b6228e chromedriver + 71745412  chromedriver                        0x0000000102f43db9 chromedriver + 478764113  chromedriver                        0x0000000102f48f6d chromedriver + 480855714  chromedriver                        0x0000000102f4fec2 chromedriver + 483705815  chromedriver                        0x0000000102f49c9d chromedriver + 481193316  chromedriver                        0x0000000102f1befc chromedriver + 462412417  chromedriver                        0x0000000102f68898 chromedriver + 493788018  chromedriver                        0x0000000102f68a50 chromedriver + 493832019  chromedriver                        0x0000000102f7937e chromedriver + 500620620  libsystem_pthread.dylib             0x00007ff80dbf5202 _pthread_start + 9921  libsystem_pthread.dylib             0x00007ff80dbf0bab thread_start + 15Response in 3.705 s127.0.0.1 POST http://localhost:8191/v1 500 Internal Server Error

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@bbangg@4D5A90

[8]ページ先頭

©2009-2025 Movatter.jp