Convert curl commands into Got calls #2202
Closed
verhovsky
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
curlconverter can now rewrite curl commands into Got function calls. These curl arguments are supported:
--request(-X)--get(-G)--head--header(except when it's a filename)--user-agent--cookie(except files)--user--data/--data-raw/--data-ascii/--data-binary/--data-urlencode/--json(except files)--url-query(except files)--form/--form-string--max-time--connect-timeout--location--max-redirs--compressed--insecureand also these ones that aren't really worth mentioning:
--referer,--range,--time-cond,--oauth2-bearer,--globoff,--http2and--proto-default.Try it out at https://curlconverter.com/node-got/ and let me know if you have any feedback.
The website has analytics for tracking page loads butyour curl commands aren't sent anywhere, everything happens client side in JavaScript.Beta Was this translation helpful? Give feedback.
All reactions