Skip to main content

I would like to call IFS standard Rest API via IFS Connect - REST Transport Connector.

(eg, a json file inbound in FTP , and I pass it to REST API)

While, seems IFS doesn't support call itself's RestAPI.

It keeps getting error.

Is anyone know the correct setting?

My Setting:

 

Error:

 

to simpliy the issue, I changed the Auth from OAth2.0 to basic for that API

and succedd to call via Postman:

 

Hi @Shou 

 

I see you have used two content-type headers in routing address. that could be the issue. remove the content-type=text/plain and try again

 

Regards,

Damith


@dsj 

  Thanks for your reply.

  I tried a lot of pattern (even removed all header-paramemters) , but still same error.

  I think it may a bug of IFS.


Hi @Shou 

 

It could be because you are routing from FILE_IN to the rest endpoint. Have you tried to call the same rest api from plsql using plsql_rest_sender_api.call_rest_endpoint and what’s the result?

 

Otherwise, setJ2EE logging to debug and there you can see the raw http request including headers in the log. You might find what’s wrong with the request from that.

 

Cheers!

Damith