web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

PostMan Validation for On Premise Business Central Cash Receipt OData URL

(0) ShareShare
ReportReport
Posted on by 315

Hi , 

We were validating On Premise OData URL for Business Central Cash Receipt entity. When we use the option to validate using POST with Basic Authentication we get Invalid Hostname error - see below image. 

The on premise environment is published with LIVE IP and we are giving Website URL , can be seen in image. 

Please suggest what can be the missing part here. 

Error on POST request

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    If you are facing the issue Bad Request - Invalid Hostname while calling the API from Postman, consider adding the Host in Headers.

    Thanks.

  • Verified answer
    Tabrez Ajaz Profile Picture
    785 on at

    Hi Ahsan,


    This can be resolved, very easily just do some changes in Server Instance and in postman.

    Server Instance: 

    * Open Business Central Administrator
    * Expand the Server Instance and Enable "Use  NTLM Authentication"
    pastedimage1624480864110v1.png
    * Restart your Server Instance

    Postman App:

    * Open Postman App
    * Go to Authorization Tab and in Type choose: NTLM Authentication [Beta]
    * Enter your domain\Username and the password
    pastedimage1624481216149v2.png


    Inshallah this will work for you.

  • Muhammad Ahsan Tufail Profile Picture
    315 on at

    thanks - it worked

  • Muhammad Ahsan Tufail Profile Picture
    315 on at

    Hi , 

    I am now getting this error - although I have given the values but still error is coming. 

    Error-on-POST-Cash-Receipt.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans