'Convert curl to HTTP request for Stripe api

I was trying to run the stripe API in postman, and I don't know how to set --data-urlencode correctly. Any ideas?

curl https://api.stripe.com/v1/charges/search \
  -u sk_test_4eC39HqLyjWDarjtT1zdp7dc: \
  --data-urlencode query="amount>999 AND metadata['order_id']:'6735'" \
  -G

What's the http version for this? Thanks in advance.



Solution 1:[1]

Postman lets you choose the encoding straight in their UI under the Body section:

configuration

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 koopajah