Рет қаралды 13,195
To use a PUT request using JavaScript, specify the data that should be updated.
In our example, we get specific and identify the article post we'd like to update by said post's id value.
This id is referenced in the url endpoint. Accordingly, this enables us to point to the data we want and change it via a PUT request that "carries" a payload of new data.
If you guys have questions about what's an API, look at this video,
• API Request methods
If you have questions about what a request method is view this video,
• API Request methods
The following are videos of how to implement specific methods,
POST: • Use JavaScript to POST...
GET: • Execute an API GET req...
Best,
Fido
-----------------------------------------------------------------------------------------
Book a private technical consultation 💻:: selftaughthustle.net
Follow me on instagram 📸 : @selftaughthustle
Build a software solution for your business entity 💼:: guavalabs.io
Check out Guava Lab's KZbin 📺:: kzbin.info/door/Ha8
*/