Skip to main content
February 7, 2024
Question

Appian Web API

  • February 7, 2024
  • 4 replies
  • 0 views

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

4 replies

mathieud0001
February 8, 2024

Are you passing the api key in the header as described here?

docs.appian.com/.../Web_API_Authentication.html

amaans4178
February 8, 2024

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

harshitb6843
February 8, 2024

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. 

abhayd3663
February 8, 2024

Double check the WEB API URL, API key and the service account configuration.