How can I consume a third-party api in serenity-platform and display the values on my dialog? And how can I call serenity-platform repository function from other app? Any sample please. Thank you so much.
consume a third-party api in serenity-platform
247 Views Asked by ITS At
2
There are 2 best solutions below
0

Using other applications API is a simple webrequest call call you can write it in endpoint and give a call to it as a ServiceEndpoint call
For Serenity API's sample call for auth will be https://domainname.com/Account/Login Parameters: { Username: admin Password: serenity }
https://domainname.com/Default/Services/Orders/List - will give you list of all orders
You can consume like other api's. Check request responses from chrome network for easy understand objects what you need. There is no sample for this what I know.