In the URL GET parameter ?What is the meaning of parentheses in aa={ab-cd-ef}?

Asked 1 years ago, Updated 1 years ago, 45 views

I saw the URL using brackets as below. I'd like to know why you used braces and if it's possible to remove braces.

www.aaa.com/abc?zz={ab-cd-ef}

url

2022-09-22 11:52

1 Answers

Literally, it looks like you're passing it to {ab-cd-ef} with the value of zz.

I think it might have been used to receive multiple values (ab, cd, ef) as a parameter, or to distinguish the values. For braces, you can remove them from the server end.

The hash code site uses '-' instead of space. You can tell by looking at the current url. If I remember correctly, Google would be using '+' instead of spacing.


2022-09-22 11:52

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.