#vell2x

1 messages · Page 1 of 1 (latest)

slow umbraBOT
hardy hound
#

Where do you post/fetch? Is it at client or server?

#

Can you share example code which you use with fetch?

zealous drift
#

Server. I am currently using POST

#

app.post('/v1/customers', async (req, res) =>

#

I am researching FETCH. Looking for general advice

hardy hound
#

Since you use NodeJS, why don't you use Stripe Node SDK which helps you to handle the HTTP and you only need to send in the parameters?

zealous drift
#

Do you have an example for creating a customer? Ive been trying to find one in your samples github

hardy hound
#

The above code I shared is the example to create the customer with Node

zealous drift
#

Ok. I will try it.