Webmethods IO - API

I have created a WF in webMethods IO Integration and created a rest API using WF for in wm IO.

when calling API endpoint from postman …I got 403 Not Found error. I was using wm IO account credentials in postman when calling API.

Am I calling wrong url, do I need to configure IO API in API Gateway portal and then call it? cant we call API endpoint generated in IO directly ? or do I need use any other credentials for API in IO ?

https://deepaladev.int-aws-us.webmethods.io/integration/restv2/development/fle801b90bd7f8af4fdfe556/Calulator

You probably have an error in the path ?
You need to ensure that you combine both the API Base URL + the path of the resource you want to call. Also don’t forget to set the method appropriately i.e. GET / POST etc.

You could try posting a screenshot of your API, that way it might be easier for us to understand where it’s gone wrong.

regards,
John.

1 Like

@Sandeep_Deepala
A screen shot of what you setup will be helpful.

Also, I created a video you can watch on how I exposed the Workflow using REST API and also how to expose it to wM.io API Gateway. You can access it from the Knowledge Portal here:
https://knowledge.softwareag.com/

Create an account if needed and login. From the top, select Catalogue then Software AG Product Training.

In the Search field, type: wM.io Integration REST API Builder

I believe it’s free (but don’t blame me if it’s not :slight_smile: )

1 Like

screens.docx (106.0 KB)

PFA of rest API configuration created for WF

@Sandeep_Deepala What are you putting in the fields in Postman?
In addition to the recording I mentioned above, you can also find info in here:
webMethods.io Integration Tutorials - REST API Builder - Knowledge base / Video - Software AG Tech Community & Forums
There is also documentation here: REST APIs - webMethods.io Integration

1 Like

Hello @Sandeep_Deepala ,

Screenshot of what URL you are passing in postman will also help , assuming you are using API endpoint with the combination of credentials of tenant, it should work.

Regards,
Bharath

I was using base url, when i tried with base url + path it worked .

https://deepaladev.int-aws-us.webmethods.io/integration/restv2/development/fle801b90bd7f8af4fdfe556/RestAPIforWF/RestAPIforWF

for invoking any IO service as an API is it mandatory that we need to use webhook trigger ?

no need for webhooks configs.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.