question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Request Method DELETE

See original GitHub issue

To remove attached files from a list item, SharePoint uses the HTTP method DELETE.

The proxy is returning the following error:

Request Method: DELETE Request URL: _api/web/lists/GetByTitle('ListName')/Items(1)/AttachmentFiles/GetByFileName('sample-image.png') Status Code: 404 Not Found

Cannot DELETE _api/web/lists/GetByTitle('ListName')/Items(1)/AttachmentFiles/GetByFileName('sample-image.png')

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
magnobietcommented, Nov 19, 2021

It’s working. Thank you for the quick support.

1reaction
koltyakovcommented, Nov 19, 2021

sp-rest-proxy@3.3.2 - this should not rewrite a Digest header.

Read more comments on GitHub >

github_iconTop Results From Across the Web

DELETE - HTTP - MDN Web Docs
The HTTP DELETE request method deletes the specified resource.
Read more >
What is HTTP DELETE Request Method? - ReqBin
The HTTP DELETE method is used to delete a resource from the server. Unlike GET and HEAD requests, the DELETE requests may change...
Read more >
What is the usefulness of PUT and DELETE HTTP request ...
The DELETE method requests that the origin server delete the resource identified by the Request-URI. This method MAY be overridden by human ...
Read more >
Python Requests delete Method - W3Schools
The delete() method sends a DELETE request to the specified url. DELETE requests are made for deleting the specified resource (file, record etc)....
Read more >
HTTP/1.1: Method Definitions
The DELETE method requests that the origin server delete the resource identified by the Request-URI. This method MAY be overridden by human intervention...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found