You are not logged in.
Pages: 1
I am using George's demo as server, postman as client.
while the url as below work well.
http://localhost:777/service/RestMethod … f6fcaf8d51
however
http://localhost:777/service/RestMethod … c070a52f89
and params send via form-data or other way but in url
get a 403 result .
question is : how to get the signature on way 2 , in this way , i think the server did not received the params .
Last edited by linbren (2017-09-21 10:00:10)
Windows 7 64bit. Delphi XE10.2 Professional.
Offline
sending a json work well.
there was a sector "Sending a JSON object" , it was suppose as a optional but necessary .
on web client , they should trans all the form data to json object ?
Windows 7 64bit. Delphi XE10.2 Professional.
Offline
function Sum(val1, val2: Double): Double;
[2,1] , {"val2":2,"val1":1}
function SendCustomRecord(const CustomResult: rCustomRecord): Boolean;
[{"ResultCode":200,"ResultStr":"Awesome","ResultArray":["str_0","str_1","str_2"],"ResultTimeStamp":"2017-09-22T11:18:34"}]
how would i Name the parameter "CustomResult" in Json Parameter ,like Method sum ?
Windows 7 64bit. Delphi XE10.2 Professional.
Offline
{"CustomResult":{"ResultCode":200,"ResultStr":"Awesome","ResultArray":["str_0","str_1","str_2"],"ResultTimeStamp":"2017-09-22T11:18:34"}}
pass.
which confuse me is : array or object ?
Windows 7 64bit. Delphi XE10.2 Professional.
Offline
Pages: 1