09-22-2023 12:40 PM
Is it possible to implement an API that does not require credentials? Ultimately, I would like to implement a GET call with query parameters through a hyperlink. I want that to return a custom HTML response to the user.
I can't seem to get past the authentication requirement though.
Has anyone done anything similar?
Solved! Go to Solution.
09-23-2023 06:55 AM
Yes you can use the HTTP connector and specify no authentication in the connector details.
09-25-2023 07:09 AM
Ah, I see, sorry for the misunderstanding. I've used Workato's "webhook" trigger for that same purpose... it provides an API endpoint that can be called without authentication to serve as a notification endpoint of a change being made elsewhere. The webhook wizard is pretty good, where it gives you the endpoint and then listens. Meanwhile you go to the other system and generate the call, and Workato "detects" it and generates the input schema for you.
The part I'm not familiar with is generating an HTML response. Mine doesn't give a response beyond the 200 Ok, and their doc looks like it's not meant to give much more.
And the API Platform, if you have that module, doesn't have an authentication-less option. But it can just use an Auth Token in plain text so you can "approximate" no authentication? 😀 My responses for those have always been JSON. It looks like the Content Type options are JSON and Text/Xml, so I'm not sure HTML would be supported. I'd ask Support to be sure on that one.
Sorry I couldn't be more help.
10-03-2023 05:34 AM
Hi @bboren ,
This is Marlon from the support team.
HTTP Webhook doesn't have a configurable response, unlike API Platform. However, the API Platform requires authentication.
10-03-2023 05:34 AM
Hi @bboren ,
This is Marlon from the support team.
HTTP Webhook doesn't have a configurable response, unlike API Platform. However, the API Platform requires authentication.
10-03-2023 05:49 AM
Thank you Marlon. I guess that is the problem. Do you know how to request this capability?
10-03-2023 05:51 AM