You need to sign in to do that
Don't have an account?
Bill 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
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 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 ..