#crit5505
1 messages · Page 1 of 1 (latest)
hey]
Hi, could you elaborate which part do you need help with?
real quick
i saw this online if it helps
This question ranks highly on Google for some reason, which means I regularly click through here when I encounter this issue. For the sake of my sanity, and anyone else who arrives here, here's the answer:
Execute this in the command prompt:
Remove-item alias:curl
Explanation: There's a CmdLet called Invoke-WebRequest which has an alias of curl. So when you execute this command, rather than using curl, it tries to use Invoke-WebRequest. Removing this alias allows you to execute curl as you intended.
Windows Terminal seems to have Invoke-WebRequest set up by default, so I occasionally find myself needing to run the Remove-item.
@fast rain
problem is when i execute it in cmd it says this \
So you are looking for how to curl in window?
You need to download it first
thanks
No that's different. You would want to install and get curl to work first
which errors for now?
red lines under my text
and curl -X POST localhost:4242/create-payment-intent
@fast rain
It's probably because curl version in window is a bit different to Unix
Have you tried cygwin?
thats the other curl version right?
i installed standard version
@fast rain good?
Please don't mention everytime
ok
I meant cygwin as a different terminal in Window
When you install curl on cygwin, you could have a different version
Google for "Install cygwin for window"
And have you installed it?
yes
sorry, im mainly a frontend developer but I am learning how to do backend stuff with stripe custom flow payments
no
how do i run curl on cygwin
i added the cygwin curl same way i added the normal curl
through this
I have this open how should I run it?
also how would I fix this issue
omg haha
i was using back ticks not colins
hahahha
the payment form is not showing up on website after fixing the back ticks could it be because of curl?