Publish REST API

0
HI Team ,  I am working on publishing an API and the authentication method used are UserName & Password and Session . Now my question is I am able to run the API via Swagger with the Mendix admin Username and password but not in Postman . Can someone help me where should i mention the UserName and Password which needs to be passed in Header on postman in order to access API data . Because i believe in Swagger it is autheticating via Session . Please help me with this .  
asked
2 answers
0

Hello, 

 

it’s on the authorization tab, with the type basic Auth. 

 

answered
0

Hi, you can add a custom header like 'SecredID’. In the MF of the of te operation you’re able to retrieve the headers.

For security reasons its probably better to use certificates, whitelisting etc. 

answered