Open abeatbeyondlab opened 6 months ago
@abeatbeyondlab endpoints in Appsmith cannot be accessed from outside the platform except via our new workflows feature where you can easily get the URL #3378
@Nikhil-Nandagopal
I am talking about another topic.
I am only saying the export curl featuire that you find for example in api docs
I am talking about an export button that shows the curl equivalent about the parameters configured with appsmith
in docs you usually see like that
but it can be much more simple as only a button that exports to clipboard the curl quivalent of what I configured on appsmith
I reopened here https://github.com/appsmithorg/appsmith/issues/32256
@abeatbeyondlab please explain why you need that feature? I'm going to close the other one as well to avoid duplication. I'll be happy to reopen this once I fully understand the need here
as i already wrote above. the need is an export curl command function
now is already implemented the curl import. if we have the "curl import" I dont understand why we dont have the "curl export"
@abeatbeyondlab because the purpose of CURL import is to bring in external APIs into Appsmith but there is no need to export an API inside Appsmith to the outside world because Appsmith APIs are configured with bindings that read values from widgets. So they cannot be triggered from outside. Hope this diagram helps. If you want to trigger a workflow from a 3rd party system, I suggest using our workflows feature
@Nikhil-Nandagopal I think export curl will be helpful in troubleshooting. Ex : I have a developer who makes apis specifically for Appsmith, now if there's some error and API is not working as expected, he would ask for the curl of it, which then helps developer in testing things out.
@sachans so what you are actually asking for is a CURL of a run that specifically failed in order to debug. Is that correct?
the main goal should be to have a "curl export" button that it allows you to paste on a terminal and then debug better what is configured on appsmith reading from terminal the result of the curl export string.
Yeah makes sense
news on that?
@abeatbeyondlab sorry this hasn't made it to our roadmap yet. We'll let you know once we prioritise it.
Is there an existing issue for this?
Summary
if I setup an api endpoint sometimes I have to re-export and test it inside a terminal with curl.
Why should this be worked on?
it is really helpful a button to export the text of the api call setup in appsmith