cURL -u how to post with web component?

Hi, I know how to request headers (-H) and post text (-d) , but what should I do with -
“curl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET>”
Which web component block should I use for this? (-u) Or is it not supported by web component?
Relevant doc:-

Solved or not ?

1 Like

im also trying this from a week but unable to post it properly

You can explain better ?

i have tried for razor pay but it not detects the api key and token

i got this msg… please provide key

*curl -u <YOUR_KEY_ID>:<YOUR_SECRET> *
-X POST https://api.razorpay.com/v1/orders
-H “content-type: application/json”
-d ‘{
“amount”: 50000,
“currency”: “INR”,
“receipt”: “receipt#1”
}’
where i can enter this key n token of curl

If you get proper answer please reply to me also