Created
November 13, 2018 19:27
-
-
Save danlourenco/2687818d03da6625430ab1b5ef176951 to your computer and use it in GitHub Desktop.
using cy.request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const options = { | |
method: 'POST', | |
url: 'https://my.url.com/endpoint', | |
body: { | |
username: 'my_username' | |
password: 'my_password' | |
... | |
} | |
}; | |
cy.request(options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment