rachit2672
(Dev Rachit)
#1
I want to make a post request to this api, can you help me to do it through blocks?
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",
"payment_capture": 1
}'
vknow360
(Sunny Gupta)
#2
Hi @rachit2672
Before helping you we will like to see your own logic.
First show what you have tried then anyone can help you.
Taifun
#3
you might want to try something, you can use this as a start App Inventor Tutorials and Examples: Dropbox | Pura Vida Apps
however I don’t know, if this will be possible, probably you can set it in the header, too?
-u <YOUR_KEY_ID>:<YOUR_SECRET>
Taifun