I'm new to protractor and I found that there is not much documentation on post method for sending JSON data to backend.
What is the proper way to send the json data to backend.
I tried using the way:
http://www.google.com/url?q=http%3A%2F%2Fstackoverflow.com%2Fa%2F21804302%2F265261&sa=D&sntz=1&usg=AFQjCNH4Nnq1Htz8P79EZsIC0KSYmvlfUA
But could not succeed as I could not execute the block inside browser.executeAsyncScript
Please post some examples or documentation where I can do this
Thanks in advance