Advertisement
AndreasFurster

Untitled

Jun 25th, 2014
518
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.31 KB | None | 0 0
  1. $.ajaxSetup({
  2.         headers: {
  3.             "content-Type": "application/x-www-form-urlencoded",
  4.             "authorization": token
  5.         },
  6.         statusCode: {
  7.             400: ApiActions.BadRequest,
  8.             401: ApiActions.Unauthorized,
  9.             405: ApiActions.MethodNotAllowed,
  10.             408: ApiActions.TimeOut,
  11.             500: ApiActions.InternalServerError
  12.         }
  13.     });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement