question

AmarPatil-0325 avatar image
0 Votes"
AmarPatil-0325 asked BobJohnson-6874 edited

Facing issue with HTTPRequest Post method to update list item

Hello,

We are facing some issue for Post action with HTTPRequest Class. We have developed a code to update the SharePoint onpremise list using Http Request. Here we are making HTTPRequest with Post method to update list item.(C#)

There are environment specific sites we kept like ITE, STG and we found different behaviour specific to environment as below -
ITE - Facing 400- Bad request error while getting the response
STG - Facing 403 - Forbidden error with Normal account(Company specific account)
STG - Facing 401 - Unauthorized error with Service account.

Note: All above user accounts used for testing are having Full control or SCA permission over site collection.

Please help us understanding the same and help to resolve the issue.
Thanks for your guidance in advance!!

Thanks,
Amar

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers