Advertisement
Guest User

Untitled

a guest
Feb 5th, 2016
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <script>
  2. function Login() {
  3. var Request = {
  4. User: "usuario",
  5. Password: "1234",
  6. Secret_Id: "JGJHASDH7656775ASD776",
  7. App_Id: "XXTYVFDR65432GBVCMNCBGDRT"
  8. }
  9.  
  10.  
  11. $.ajax({
  12. type: "GET",
  13. data: { JsonLoginRequest: JSON.stringify(Request) },
  14. url: "api/test/Login",
  15. contentType: "application/json",
  16. success: function (Response) {
  17. $("#Returncode").val(Response.Returncode);
  18. $("#Message").val(Response.Message);
  19. $("#Token").val(Response.Token);
  20. }
  21. });
  22.  
  23.  
  24. }
  25. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement