... a good idea to wrap your HTTP interactions in an API construct like so: // api.js export class Api { createProduct(product) { return fetch("/products", ...
確定! 回上一頁