Url parameter is too long

problem description

links shared by app
http://localhost:4444/h5/shop?id=uUp6Id-QvpSBLiw3RtNcDN3rKJHqrBLeE1ZvsN2RUhTeP%2FTBba6WtKzF22pHiYzgKvEpPFBbDfjVbQ6ruy499JwefL-TzDGAIBSqHhxxf54-yeBYSwDEYW7EAwgrUQtz22cUY853fwomorw%2FGhtSgj%2F5eI0U%2F6CYho-zVNBZBvc%3D

parameters need to be encrypted and passed, which makes the URL too long and feels unfriendly. Is there a good way

the environmental background of the problems and what methods you have tried

the shared link is encrypted by three attributes of an object, and then it is very long

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

is there any way to make the parameters shorter, or other solutions

Apr.01,2021
The parameters in

url are all parameters in the request body. You can pass


short link service to the request header for example, if you don't want the user to see the request parameters and the backend negotiation. Have you ever heard of it? See generate a short URL online , and you can package it into a service for your own use.

Menu