Web PUT component

Hello,

I'm having trouble to use the PUT web component. Cannot make it work.
The POST and GET there are plenty of exmples and it's working fine.

For example this PUT, I need to send User and Pass:
curl -X 'PUT'
'http://10.10.10.10/api/User/RegisterUser?User=2&Pass=123'
-H 'accept: /

API is working fine but in MIT app inventor I don't know how to create it.
Could you please provide an example how to make a PUT?

Thank you.

What have you tried?

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

Hello Taifun,

I tried some but the only that makes sense to me is:


)

Pasting your curl command here:

returns:

but you could also try:

or

What happens if you put this

into the url and send an empty text in the Put method?

Taifun

Thank you so much for your help Taifun!

now is working like this:

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