Hi
I am trying to call Appian web api from dotnet application running from service fabric but it gives the HTML Page as the response which is the login page of appian environment.
using API key authentication.
But its working fine from PostMan.
Please Suggest.
Thanks in advance
Discussion posts and replies are publicly visible
Are you passing the api key in the header as described here?
docs.appian.com/.../Web_API_Authentication.html
if the request is configured as Mathieu mentioned, it may be your domain from which you are passing the request is not added here to allow cross-origin resource sharing (CORS).https://docs.appian.com/suite/help/20.1/Web_APIs.html#cross-origin-requests
Can you add a screenshot of the configurations you made in your code to call the API? If you are getting the API code, looks like the URL isn't corrent.
Double check the WEB API URL, API key and the service account configuration.