I\'m developing an API that can accept the main three data types as values to query string parameters: boolean
, string
& numeric
(
Send a URLEncoded NUL value (%00) for any thing that you're specifically setting to null. It should be correctly URL Decoded.
or just don't send any value. leave query param value empty in your get request url.. like -
API URL/?foo=&some_other_param=value
in the API foo will be received as null
With IIS and C#, I send it this way:
?param=#