function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bill McBill Mc 

apex rest post request - Odd Behaviour

hi there

I have a simple APEX rest class with 2 methods: doGet() and doPost().  

When a POST request is made by a certain supplier platform the apex code cannot create Case records (error generated on Insert).  But when I call the same POST request using a test site like apitester.com it can!

But, when I config the supplier to make GET requests the code can create Case records.  Even though the User and Profile are the exact same for both requests.

Any ideas why a POST request from thuis supplier might be causing such an issue?  I have checked the HEADERs and PARAMs in both instancesd and they seem fine.

Any help appreciated

Bill










 
Raj VakatiRaj Vakati
POST  call is to create a data and i believe there might be some trigger or process builder or validate rule that might causes issue. or even case assignment rules ..