Advertisement
Guest User

Untitled

a guest
Apr 17th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. url: 'localhost:8084/Calk/j_spring_security_check',
  2. params: {j_username: 'ali', j_password: '123456',
  3. method: 'POST',
  4. headers: {
  5. 'Content-Type': 'application/x-www-form-urlencoded'
  6. },
  7. success: ...,
  8. faiulure: ...,
  9. });
  10.  
  11. Ext.define('Calk.store.Calk', {
  12. extend: '...',
  13. model: '...',
  14. proxy: {
  15. type: 'ajax',
  16. url: 'localhost:8084/Calk/calk/all',
  17. withCredentials: true,
  18. useDefaultXhrHeader: false,
  19. reader: ...,
  20. method: 'POST'
  21. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement