79232607

Date: 2024-11-28 04:43:26
Score: 1
Natty:
Report link

After investigating, I discovered the issue was caused by a typo in the endpoint URL. I had written Commnets instead of Comments. Correcting the typo resolved the issue.

Here’s the corrected configuration that worked for me:

HTTP Request Configuration

Method: POST

Endpoint:

_api/web/lists/getbytitle('Project Tracker')/items('ItemID')/Comments

Headers:

{
    "accept": "application/json;odata=verbose"
   
}

Body:

{
    "text": "This is a new item."
}

I hope this helps anyone facing a similar issue! If you have any further questions or suggestions, feel free to share them in the comments below. 😊

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Asit Das