Hi
I created a get and a post and having issues with
post
First
The get works great just
url with 2 params ==> url/name/emailadres
It runs some logic and returns what I need
The problem
The POST
If I test it inthe test page that is generated it works
if I try to caal ifrom windev is says 404 not found
My code :
x is string
httpReq is httpRequest
httpReq.URL = "[
wdsoft.nl];
httpReq..ContentType = "application/json"
Juser is JSON
Juser.EmailAdres = EDT_EmailAdres
Juser.voornaam = EDT_Voornaam
Juser.achternaam = EDT_Achternaam
x= StringToJSON(Juser)
httpReq..Content = StringToJSON(Juser)
httpReq.Method = httpPost
httpResp is httpResponse = HTTPSend(httpReq)
IF httpResp.StatusCode ="200" THEN
Info(httpResp.Content)
ELSE
END