Ask a Question

How to add a vendor's Rest API to a project (Newbie)

SOLVED
BFasano
New Contributor

How to add a vendor's Rest API to a project (Newbie)

Ok, I've worked with SOAP API's and now I'm trying to work with a REST API. 

I've created a new project, I click to Import API Definition. 

I enter the URL of the API, I leave Protocol to Determine Automatically and click Import API. 

The screen flickers and then I get a message box "Failed to import a definition". 

Is there somthing I need to add to the URL to get the definition? (e.g. ?WSDL)

 

 

4 REPLIES 4
nmrao
Community Hero

Do you mean you imported the swagger definition? Have you checked the logs to see what caused errors?


Regards,
Rao.
BFasano
New Contributor

No, I put the URL of the API and it fails. 

Ok, so I looked into it some more and based on what you asked, it sounds like there should be a somefile.json at the end of the URL, is that right? 

Is there a standard name for that file? 

nmrao
Community Hero

It is called swagger definition of the API's

 

It can be in a file or a url. Of course, one can save file from url and load into to the ReadyAPI too.



Regards,
Rao.
BFasano
New Contributor

Thanks, 

I'll reach out to the vendor to get teh file name or full URL. 

 

 

cancel
Showing results for 
Search instead for 
Did you mean: