API curl "-x" data

One of the API for Stripe is to send an invoice. The CURL is below, where do you put in the “-X” value int he API server side. Is is under input data?

    curl https://api.stripe.com/v1/invoices/"{{INVOICE_ID}}"/send \
  -u sk_test_#################: \
  -X POST

“Method” :wink:

1 Like

-x outlines the Method dropdown selection. GET, PUT or POST.

1 Like

thanks @Apple and @scalaris.