Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

How to pass these parameters in Postman

$
0
0

Hi,

I have a code for calling web method in ajax, but want to test it in POSTMAN please tell me how to pass these parameters in POSTMAN.

$.ajax({
               type: "POST",
               url: "/RAFL/FetchDetails",
               dataType: "json",
               contentType: "application/json",
               data: JSON.stringify({
            	   postData: '{"custId":"SKC400","data":"DS/go10ZWvcKm10JGxYrvZ4+dGOpR6eB=="}',
            	   RollNumber: $('#txtRollNo').val(),
            	   sendEmail: $('#chkEmail').is(':checked'),
            	   AttemptsLeft: AttemptsLeft,
            	   consentNote: 'I accept.' }),
                success: function (data) {
					alert('success');
				},
				error: function (error) {
					alert('failure');
				}
			});

Please help!


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>