Http requests

I have a problem when I am working with HTTP delete method. I have a URL that makes fake API. The address is like this:
private URL = ‘’;
i am getting an error
:-DELETE 404
loaddlt @ index.html:52
onclick @ index.html:13
how can we know that the fake api allows us to delete the data