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

Announcements

News and Announcements icon
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
    Microsoft Employee 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
    789 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans