question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please use double quotes in the generated CURL command for windows support

See original GitHub issue

The generated curl command used single quotes but that doesn’t work for Windows users that have shell. Linux supports both single and double quotes. Changing --header='' to --header="" will enable windows users with curl to use it too 😃.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:4
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
develohpandacommented, Oct 7, 2020

That sounds like a reasonable approach.

What is your opinion on introducing a quotes option with the values single, double, instead of platform? It’s a little more explicit, and can automatically be set to the correct value by the CLI bin/httpsnippet.

1reaction
darrenjenningscommented, Mar 11, 2019

@ElleshaHackett seems like a good idea. @ahmadnassri do you have any history/justification on the single quotes?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to send double quote in -d parameter for curl.exe?
My curl.exe works with this form: -d "{\"param\":\"value\"}". i.e. doublequotes around data, and doublequotes masked with backslash inside.
Read more >
Sending a POST request via curl has issues with double quotes
curl --user "user" -X POST --data '{"description":"Created via API" ... You have to put the entire string inside double quotes " .
Read more >
Docs: add double quotes to cURL commands (#276200) · Issues
Problem to solve. We have a lot of cURL examples in the docs, and some use double quotes for the URL, and others...
Read more >
Proper escaping of double quotations for curl post data?
It's a kind of necroposting but I've had the same problem recently (with a different backend) and found that the reason is in...
Read more >
How to pass the string in Curl with double quotes?
This is microsoft Teams API. I am passing this to change the default Timezone. This is working fine in postman. Please help me...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found