SS1.0, unfortunately :3 I figured out a way but not sure if it's the most efficient. I was able to add a URL parameter in the external code that defines which method was used. I then use request.getParameter('func') to get that value.
s
samyt
02/07/2019, 3:06 PM
You can use GET/POST method as well
t
Tyler
02/07/2019, 4:05 PM
If I understand correctly, that shows only whether it's a GET or POST method, right?
s
samyt
02/07/2019, 4:08 PM
Yes but you can use different method to access the two function.
t
Tyler
02/07/2019, 4:09 PM
I'm not sure what you mean 😞
n
Nik
02/08/2019, 4:04 AM
BEst would be while calling add an extra header like SuiteScript - Call A and SuiteScript - Call B. Or even the URL param should work.
What @samyt mentioned is good if A is a Get and B is Post call