How to use curl

How to run this curl in niotron

curl -X POST
https://payout-api.cashfree.com/payout/v1/authorize’ \

-H ‘X-Client-Id: {{client id}}’
-H ‘X-Client-Secret: {{client secret}}’
-H ‘cache-control: no-cache’

Hello @Pochinobo ,
Welcome to Niotron!

There are some curl to block converter tools

https://community.appinventor.mit.edu/t/curl-to-blocks-automatic-generator/47888?u=horizon

1 Like

Quick reply :face_with_peeking_eye:

2 Likes

We have to do brother,
I’m mod here not for fun, we have to do hard work to make community clean and also tries our best to help people

1 Like

I have tried these convertors but it,s not working

Please show your blocks

1 Like

Generated from getaix.com
You can download the image and and can import it in your builder by drag and drop

Generated by the tool created by @HritickR

1 Like

@Pochinobo

Use these Blocks and replace the text with original value

3 Likes

I have tried all this and my block are exactly same as mentioned above but not workin, it was showing the error that use of https method Then I tried post text post text then it was working better then the error was client I’d missing.

@Horizon Check the Url… both are wrong…
The url of the first method starts with %E2, which is obviously wrong
The url and also the other parameter start with a single quote, which should be removed

@Pochinobo please provide a screenshot of your relevant blocks… abd naje szrd to remove the curly brackets for client id and secret

Taifun