Afternoon,
We have a vendor that is trying to send POST requests to a method in we have hosted using Site Guest User
.
Here is our code snippet that we are using to see if the request is even entering the method, but it is not.
@RestResource(urlMapping='/myUrl/*')
global without sharing class myClass {
@HttpPost
global static String createSomething(String value) {
System.Debug(value);
}
The url format is passing the data in a key value pair format.
/myUrl?Id=123&Name=Test&Age=40
The issue is that we can see in the debug logs that we are getting the requests, but the method will not fire. Any suggestions?