Skip to content

delete and put not working #1025

@Harshh-singh

Description

@Harshh-singh

My delete and put requests are not working but get and post are working fine

This is my Repository: https://github.com/Harshh-singh/Ecommerce-demo/blob/master/db.json

This is the API: https://my-json-server.typicode.com/Harshh-singh/Ecommerce-demo/blob/master/products/

This is my delete request: const res = await axios.delete("https://my-json-server.typicode.com/Harshh-singh/Ecommerce-demo/blob/master/products/5");

This is my get request: const res = await axios.get("https://my-json-server.typicode.com/Harshh-singh/dummy-ecommerce-api/blob/main/products/";
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions