POST should work fine.
Here's the REST implementation in AVFP (from: https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/resthelper.prg ):
Here's the REST implementation in AVFP (from: https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/resthelper.prg ):
DO CASE
CASE cVerb == "GET" AND oParams.Count = 1 AND LOWER(oParams.Item[1]) == "info"
cAction = "infoAction"
CASE cVerb == "GET" AND oParams.Count = 1 AND LOWER(oParams.Item[1]) == "help"
cAction = "helpAction"
CASE cVerb == "GET" AND oParams.Count = 0
cAction = "listAction"
CASE cVerb == "GET" AND oParams.Count > 0 AND !(ISALPHA(oParams.Item[1]))
cAction = "getAction"
CASE cVerb == "POST" AND oParams.Count = 0
cAction = "addAction"
CASE cVerb == "POST" AND oParams.Count > 0
cAction = "updAction"
CASE cVerb == "DELETE" AND oParams.Count = 0
cAction = "zapAction"
CASE cVerb == "DELETE" AND oPArams.Count > 0
cAction = "dropAction"
OTHERWISE
cAction = oParams.Item[1] &&"customAction"
ENDCASE