الاثنين، 30 مارس 2015

Re : $.ajax POST with special characters in URL

By Unknown   Posted at  6:21 م   jQuery Forum No comments

Hi Jake,



Thanks for your reply. The curly braces is just a representation that I'll be passing a username password. So basically I'm passing something like this: http://site/get/user1/tempass#



A web api will catch this request and will use the username and password to get some data in the database and do some logic. The issue is when I'm passing a URL value with special character such as #, it won't reach the server as there is an error on the ajax side. Is there a way that JQuery ajax would allow # character to be passed on the URL setting/property? I already tried encoding the URL but this didn't work either.





via jQuery Forum http://ift.tt/1OSpCsb

Related Posts

About the Author

Nulla sagittis convallis arcu. Sed sed nunc. Curabitur consequat. Quisque metus enim, venenatis fermentum, mollis in, porta et, nibh. Duis vulputate elit in elit. Mauris dictum libero id justo.
View all posts by: BT9

0 التعليقات:

Back to top ↑
Connect with Us

© 2013 jQuery Forum. WP Mythemeshop Converted by Bloggertheme9
Blogger templates. Proudly Powered by Blogger.