I am able to transfer SQLite records one at a time with HTtP using Posstring with a string like
iD=1&name=David
My co-developer at the server end is using .net and he reads the Post and inserts/updates a SQL record.
My problem comes when I try to use JSON ie something like:
Username=user&password=password&UploadJSON=[{ID:1},{nameavid}]
I have used log(myPoststring) immediately before Job1.Poststring(myurl,myPoststring) and I see the JSON object included in the string as above
However, at the server end we log the received string as:-
Username=user&password=password&UploadJSON=%22%7ID%141%8......%23
We cannot work out where, how or why the JSON part of the string is being url encoded when the first part of the string is not being encoded.
I realise that this could be happening at the server end but my web developer is adamant that this is how the string is received.
Any advice, or ammunition, much appreciated
iD=1&name=David
My co-developer at the server end is using .net and he reads the Post and inserts/updates a SQL record.
My problem comes when I try to use JSON ie something like:
Username=user&password=password&UploadJSON=[{ID:1},{nameavid}]
I have used log(myPoststring) immediately before Job1.Poststring(myurl,myPoststring) and I see the JSON object included in the string as above
However, at the server end we log the received string as:-
Username=user&password=password&UploadJSON=%22%7ID%141%8......%23
We cannot work out where, how or why the JSON part of the string is being url encoded when the first part of the string is not being encoded.
I realise that this could be happening at the server end but my web developer is adamant that this is how the string is received.
Any advice, or ammunition, much appreciated