-
Notifications
You must be signed in to change notification settings - Fork 876
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The curl command is correct but can't convert #failure to parse command #331
Comments
The curl command |
If you paste your command into https://verhovs.ky/text-inspector/ , you'll see that the spaces in your command are non-breaking space characters instead of normal ASCII spaces. If you replace them with regular spaces (you can just try copying the command from your comment):
it's converted to import requests
headers = {
'Host': 'lulu.lulufind.com',
'Accept': 'application/json, text/plain, */*',
'app_version': '1.0.0',
'Accept-Language': 'zh-CN,zh-Hans;q=0.9',
'Accept-Encoding': 'gzip, deflate, br',
}
response = requests.get('https://lulu.lulufind.com/mrzy/mrzypc/getAchievementDetail', headers=headers) |
I see, thank you!------------------ Original ------------------From: Boris Verkhovskiy ***@***.***>Date: Sat,Mar 12,2022 4:49 PMTo: curlconverter/curlconverter ***@***.***>Cc: Kevinguo087 ***@***.***>, Author ***@***.***>Subject: Re: [curlconverter/curlconverter] The curl command is correct butcan't convert #failure to parse command (Issue #331)
The spaces in your command are non-breaking space characters instead of normal ASCII spaces.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
[
{
***@***.***": "http://schema.org",
***@***.***": "EmailMessage",
"potentialAction": {
***@***.***": "ViewAction",
"target": "#331 (comment)",
"url": "#331 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
***@***.***": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
I'm reopening this because I want to replace the whitespace for you on the website |
Wow! Thank you! What can I do for You? |
Keep using the tool and keep reporting any problems you have with is so that we can make it better. You can also donate to the project's development https://github.com/sponsors/NickCarneiro |
Error parsing curl command:
command should begin with "curl" but instead begins with "curl 'https://lulu.lulufind..."
The text was updated successfully, but these errors were encountered: