I am using $.post() for post method ajax calls and i have to include a header using beforeSend() method but how to make it work in $.post().
I know i can work it with $.ajax()
I am using $.post() for post method ajax calls and i have to include a header using beforeSend() method but how to make it work in $.post().
I know i can work it with $.ajax()
