fmPDA icon indicating copy to clipboard operation
fmPDA copied to clipboard

Only URL encode data for GET requests

Open npapadacis opened this issue 4 years ago • 0 comments

POST requests expect a JSON payload but that doesn't require URL encoding, in fact this will break any values that contain spaces, e.g., field names, etc. GET requests on the other hand will need the arguments to be URL encoded. The function that returns that data will now only URL encode if the request method is GET.

npapadacis avatar Apr 06 '22 17:04 npapadacis