πππππππππππππSet-Upππππππππππππππ
We have detailed video tutorials for each of the actions/elements we have in this plugin. Watch them to understand and use it at ease.
ππππππππππInstalling the Pluginππππππππππ
β Log in to your Bubble account
β Go to Plugins
β Search for βDynamic API by Ritz7β
β Install the plugin
πππππππππππUsing the Pluginπππππππππππ
ππ Actions ππ
β½ Create a GET API request
β Inputs:
β» API endpoint: It should be the request URL. In terms of GET request, the URL should fetch response.
β» Method: It is the method of the request. In this case, the value should be "GET".
β» Headers: It should contain all the headers of an API request. For ex - Authorization token, Content-type etc.
β» Body: It is the payload of an API request. You can leave it empty for GET request or if not required.
β Outputs:
β» Data from the API request.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=HUhhGdSFlRIβ½ Create a POST API request
β Inputs:
β» API endpoint: It should be the request URL. In terms of POST request, the URL should insert data.
β» Method: It is the method of the request. In this case, the value should be "POST".
β» Headers: It should contain all the headers of an API request. For ex - Authorization token, Content-type etc.
β» Body: It is the payload of an API request. You can leave it empty if not required.
β Outputs:
β» Inserted Data from the API request.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=HUhhGdSFlRIβ½ Create a PUT/PATCH API request
β Inputs:
β» API endpoint: It should be the request URL. In terms of PUT/PATCH request, the URL should update the response.
β» Method: It is the method of the request. In this case, the value should be "PUT/PATCH".
β» Headers: It should contain all the headers of an API request. For ex - Authorization token, Content-type etc.
β» Body: It is the payload of an API request. You can leave it empty if not required.
β Outputs:
β» Updated data from the API request.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=HUhhGdSFlRIβ½ Create a DELETE API request
β Inputs:
β» API endpoint: It should be the request URL. In terms of DELETE request, the URL should delete the data.
β» Method: It is the method of the request. In this case, the value should be "DELETE".
β» Headers: It should contain all the headers of an API request. For ex - Authorization token, Content-type etc.
β» Body: It is the payload of an API request. You can leave it empty if not required.
β Outputs:
β» Response from the API request or Empty response.
βΈ Watch the video for the above action here:
https://www.youtube.com/watch?v=HUhhGdSFlRI