Is there any way to indicate in a URL query string that the value should be treated as an integer rather than string? -



Is there any way to indicate in a URL query string that the value should be treated as an integer rather than string? -

the classic query string page?field1=john&field2=123

every server-side framework interpret field1 "john" , field2 "123".

is there way client indicate in query, 'please treat field2 123 (an integer) , not "123" (a string)'?

i know can have server-side code intelligent , know field2 supposed integer, , parse integer, on client?

url query-string urlencode url-encoding

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -