Webservice error with non-alphanumeric data

C

chris fellows

I have a C# webservice with a web method that accepts a string parameter
that contains encrypted data. For some parameter values with
non-alphanumeric values then the web method fails with an HTTP status 400.
Is there a way to prevent this error from happening?

Obviously I can write a method to encode the encrypted parameter so that it
only contains alphanumeric data but then I have to do the reverse in the web
service.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top