shotdesign
(Shot Design)
October 8, 2020, 11:19am
1
To avoid data loss, for example, in Airtable requests.
To update Sellers records, issue a request to the Sellers endpoint. A PATCH request will only update the fields you specify, leaving the rest as they were. A PUT request will perform a destructive update and clear all unspecified cell values. The example at the right uses the non-destructive PATCH method
Taifun
October 8, 2020, 5:08pm
2
this already has been added as feature request
opened 06:24PM - 21 May 20 UTC
closed 08:14PM - 16 Sep 21 UTC
feature request
issue: pending component release
affects: ucr
**Describe the desired feature**
The Web component provides methods for man… y common HTTP operations. However, some web APIs make use of the PATCH verb, for which there is no App Inventor equivalent.
**Give an example of how this feature would be used**
Any RESTful web API that uses PATCH for operations would be available for use in App Inventor.
**Why doesn't the current App Inventor system address this use case?**
The Web component does not provide this functionality. It may be indirectly accessed by using a WebViewer and some JavaScript to make an XMLHttpRequest using PATCH, but this is less straightforward and masks the semantics of the operation by turning it into an opaque bundle of JavaScript.
**Why is this feature beneficial to App Inventor's educational mission?**
It can be used to teach students about how RESTful APIs work and allow students to interact with those APIs that make use of PATCH.
Taifun
1 Like
system
(system)
Closed
November 7, 2020, 5:08pm
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.