Kirill Kazoolin
Kirill Kazoolin

Reputation: 263

Can I send # as a part of URL?

I am sending commands through a WEB server.Commands' URL format has "&text=mycommand" in it. Example myurl&text=AT#123 The problem is my commands have to have # in them. This is the protocol the receiving device understands. Is there a way to accomplish it? The part after # is cut, I guess it's because it is treated as section identifier. Thanks. Kirill.

Upvotes: 0

Views: 109

Answers (1)

O. R. Mapper
O. R. Mapper

Reputation: 20730

Try replacing # with %23.

See this list for more information.

Upvotes: 2

Related Questions