Neha / AMA

AMA - Ask me anything
10 stars 2 forks source link

How to handle special character(Ex-specially #) while sending in api? #22

Open kedarSRKS opened 5 years ago

kedarSRKS commented 5 years ago

Hi Neha,

I am getting an issue while sending the string to api For example : I need to send this string (SRPS457%&%457825CPI##45865 - This string is generated by barcode device) to api in GET method.

Please help me is there any solutions?

Tried method

  1. Replacement of # to %23.
pavan-shipmnts commented 5 years ago

encodeURI not working? Pls ask such questions in stackoverflow

kedarSRKS commented 5 years ago

Thank you so much for replying, I solved it :) Cheers

On Wed, Jul 31, 2019 at 10:26 AM pavan-shipmnts notifications@github.com wrote:

encodeURI not working? Pls ask such questions in stackoverflow

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Neha/AMA/issues/22?email_source=notifications&email_token=AMQD5E7HXHOL3YKSISJWWRTQCELOLA5CNFSM4IHMVARKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GCKQI#issuecomment-516695361, or mute the thread https://github.com/notifications/unsubscribe-auth/AMQD5E2A2WHGB7THXNSARYTQCELOLANCNFSM4IHMVARA .

Neha commented 5 years ago

Hey @kedarSRKS ,

Could you please share the solution here too?

Thanks, Neha