Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.ajaxSetup({
- headers: {
- "content-Type": "application/x-www-form-urlencoded",
- "authorization": token
- },
- statusCode: {
- 400: ApiActions.BadRequest,
- 401: ApiActions.Unauthorized,
- 405: ApiActions.MethodNotAllowed,
- 408: ApiActions.TimeOut,
- 500: ApiActions.InternalServerError
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement