Use JavaScript to execute an API DELETE request
YOUR LINK HERE:
http://youtube.com/watch?v=VYFX5OdZo18
To execute a DELETE request to an API, via JavaScript, first identify the data to be deleted. • In our example, we do this through a specific URL that gives us the exact post id that we want to delete. • Once complete, use the fetch function to ping the API for that specific data and delete it by setting the value to our method property (in the video) to DELETE . • This will remove the data from the existing data structure. • 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 data to an API • GET: • Execute an API GET request with JavaS... • PUT: • Update data using a PUT request in Ja... • Best, • Fido • ----------------------------------------------------------------------------------------- • Book a private technical consultation ๐ป:: https://selftaughthustle.net • Follow me on instagram ๐ธ : @selftaughthustle • Build a software solution for your business entity ๐ผ:: https://guavalabs.io • Check out Guava Lab's YouTube ๐บ:: https://www.youtube.com/channel/UCHa8 • */
#############################
