perform a request from a script
|
02-19-2020, 12:13 AM
Post: #1
|
|||
|
|||
perform a request from a script
I'm using the RESTful API and I want to make an API call in order to authenticate before running my test, is it possible to execute that request using the script param? or do I have to navigate to a login screen?
|
|||
02-21-2020, 12:31 AM
Post: #2
|
|||
|
|||
RE: perform a request from a script
You need to be on a page of some sort in the browser to initiate the API call. You don't necessarily have to navigate the login screen but you have to navigate to some page (probably on the same origin) then you can use the exec command to run javascript to make the API call.
|
|||
03-01-2020, 11:23 PM
Post: #3
|
|||
|
|||
RE: perform a request from a script
Thanks, I'll use that
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)