Curl-to-Blocks - Convert Curl Request to Blocks

Thank you @Rogerio_Rios

3 Likes

Masterpiece And Awesome :astonished: :astonished: :+1: :+1:

5 Likes

@HritikR Can you add extension code also so that it also provide java code for making web in java

2 Likes

is it possible to change xml to blocks photo? then when we write some toturials we just write the xml in the html, and the end users will see the block photos, no need to download the photo and upload the photo, also easy to modify.

1 Like

awesome job , even though i’m fan of php curl but now you made it a lot easier for mobile bots :smiley:

1 Like

may be you are looking for
Something like this

https://community.kodular.io/t/extension-marketplace-all-extension-in-one-place-getaix-com

1 Like

@HritikR first of all, It seems a great work,… Congratulations
But, Would you please tell me what is the use of this??.. I mean I really didn’t understood why you created that.? how will that help>???
:thinking:

2 Likes

Hello every one,
can any one help me please

<form action="https://example.com/index.php" method="post" enctype="multipart/form-data">
			<input type="file" name="file">
			<input type="submit" name="submit" value="Upload files">
</form>

how can i post the above form data with cURL.

1 Like

@sardaar check your dm

If you need to implement an API in your apps you need to use Web Component. CurltoBlocks makes it easier it automatically converts your API request into blocks

3 Likes

okh, thanks for ur time…
:slight_smile:

1 Like

multipart/form-data is not supported by the web component, but probably @HritikR does have another solution?

@HritikR please answer here in the community, so everyone can learn… thank you…
Taifun

3 Likes

multipart/form-data does not work on Kodular (App Inventor Too). I don’t have any solution yet.

Mind Blowing Hritik
Fantastic :+1:t2::+1:t2:

1 Like


Great!
Epic Work

1 Like

A little doubt!

Is it possible to convert blocks to codes? It would not need to have the entire project, but some components!

1 Like

@Victor_Ken If you are asking about Kodular components block to code then it might not be possible.

1 Like

Amazing work @HritikR :tada:

2 Likes

@HritikR nice tool, I found an issue

If just pasted my curl code in site but pic is blank :frowning:

My curl code :

curl  -X POST https://api.razorpay.com/v1/orders
-u "api key":"api secret"
-H 'content-type:application/json'
-d '{
    "amount": 50000,
    "currency": "INR",
    "receipt": "rcptid_11"
}'
1 Like

@UnknownBeast Currently, this tool is under development and have bugs. You can check out cURL to blocks automatic generator - Tutorials and Guides - MIT App Inventor Community by @Jerin_Jacob

3 Likes