This repository was archived by the owner on May 2, 2022. It is now read-only.
Use js-client
#54
Labels
type: feature
code contributing to the implementation of a feature and/or user facing functionality
Our JavaScript client provides with a standard way to request the Netlify API and parse its response in a standard way. It includes some nice features such as automatic retries.
We probably should use it inside the plugin instead of re-implementing the request logic.
netlify-plugin-edge-handlers/src/upload.js
Line 18 in a9f8b0b
At the moment, this is not possible because the API endpoint is not in our OpenAPI specification yet (since this is an unannounced feature). However, this could be interesting to investigate once this endpoint becomes available in OpenAPI. Also, we could allow the
js-client
to call custom Netlify API endpoints as suggested in netlify/js-client#156.The text was updated successfully, but these errors were encountered: