How to use the Web.Post method?

Hello man, can you help me to run this curl.i am getting confused.plz tell me how can i run this with kio4 terminal extension

curl -X POST \ -u consumer_key:consumer_secret \ -H “Content-Type: application/json” \ -d ‘{ “email”: “[email protected]”, “first_name”: “John”, “last_name”: “Doe”, “username”: “john.doe”, “billing”: { “first_name”: “John”, “last_name”: “Doe”, “company”: “”, “address_1”: “969 Market”, “address_2”: “”, “city”: “San Francisco”, “state”: “CA”, “postcode”: “94103”, “country”: “US”, “email”: “[email protected]”, “phone”: “(555) 555-5555” }, “shipping”: { “first_name”: “John”, “last_name”: “Doe”, “company”: “”, “address_1”: “969 Market”, “address_2”: “”, “city”: “San Francisco”, “state”: “CA”, “postcode”: “94103”, “country”: “US” } }’

Use Web Component .
Use Web URL.
Use web.POST with Join Blocks create your Json manualy.
{ “email”:" “[email protected]”,
“first_name”:“Jonh”, …

Can you show an example plz

I am not in my notebook.


Use Blocks Like This For Doing This Task.

& for the consumer key & secret key will be same way?

Yes, it is only a basic if your query got solved marked it as solution because it helps other beginner Koders.

I didn’t understand why you marked this as a solution. Didn’t you read the posts I answered? They all have examples from and web.url
Answered posts have several ways to make have to read, understand and put the parameters of the post (as I told you to do with the Json part)

Sorry but i have Image example.

The all answers I gave him also have an image.
( And he, is still trying to do the POST. The GET I already gave the tip and he managed)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.