cancel
Showing results for 
Search instead for 
Did you mean: 

how to create POST login API virtual service

Highlighted
New Contributor

how to create POST login API virtual service

Hi All,

 

i have a scenario where i need to create a POST login API virtual service

 

1. We have a login page which accepts username and password.

2. On click of submit button Login API is called which is a POST method.

3. So how to create POST API virtual service using ReadyAPI ServiceV tool.

 

Regards,

Vedesh

3 REPLIES 3
Moderator

Re: how to create POST login API virtual service

New Contributor

Re: how to create POST login API virtual service

Hi Nastya,

 

Thanks for the reply.

 

I had a look at the solution, but i am still unable to indentify how to add/send "Username and Password" in the body of Post Request.

 

For Get method, i can use "Parameter" under Dispatch style and add the username and password as Query, but for POST how to achieve it..

 

Thanks,

Vedesh

Moderator

Re: how to create POST login API virtual service

New Here?
Join us and watch the welcome video:
Join the exciting event
SeptemberHubBub
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win