r/programminghelp • u/BizkitLover • Jul 23 '24
Answered curl rejects URL with single quotes
I'm trying to return some JSON data from curl using an API call with single quotes in it as shown below.
Each time it acts like I haven't formatted the URL correctly despite having use the code %27 to replace the single quotes, giving an error code of 3. Is there something else I'm missing to get this URL formatted properly?
EDIT: moved command and error to a pastebin link
1
Upvotes
View all comments
Show parent comment
1
u/edover Jul 26 '24
👍