Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered
Posted on by 30

hghf

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: I am facing error when getting content from httpResponse

    Seems somewhere the Parameter type is getting disrespected.

    Try with Postman OR SOAP UI.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: I am facing error when getting content from httpResponse

    What version of NAV are you running?  Are you able to get a proper response when you called from PostMan or SOAP UI tool? I would recommend first try one of those tools and make the request.

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 45 on at
    RE: I am facing error when getting content from httpResponse

    Hi,

    May be someone else can give a better solution but what I understood is that:

    Try to break the last line in two parts. First get response and then after checking the status message get it in result stream.

    HttpResponseMessage = HttpWebRequest.GetResponse;

    IF HttpWebStatus.Equals(HttpResponseMessage.StatusCode,HttpWebStatus.OK) THEN BEGIN

     ResultStream := HttpResponseMessage.GetResponseStream;

  • urooj ali Profile Picture
    urooj ali 30 on at
    RE: I am facing error when getting content from httpResponse

    abcdssdf

  • Bilal Haider Profile Picture
    Bilal Haider 45 on at
    RE: I am facing error when getting content from httpResponse

    Hi,

    Please upload images again. Impossible to read

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans