I'm not quite sure, what do you want to archive? Do you want to encode the form data into the URL? If it doesn't have to be human readable and has to be in the URL the simpliest way would be a JSON Object as base64 encoded string into a query param.
On a POST request you can send what you want as regular payload.