How to Connect to our web API by running the following command: httprepl https://localhost:{Port}

Anudeep Kumar 20 Reputation points
2024-07-03T16:23:34.2966667+00:00

I'm Unable to connect to web API to Test the controller with Command Line HTTP REPL.

User's image

This question is related to the following Learning Module

Azure | Azure Training
0 comments No comments
{count} votes

Answer accepted by question author
  1. Bruce (SqlWork.com) 82,146 Reputation points Volunteer Moderator
    2024-07-03T17:27:31.97+00:00

    you have installed the .net 7.0 version of httprepl, but don't have the .net 7 framework installed. this is because there is not yet a released version for .net 8. to install the proper one:

    dotnet tool install --global Microsoft.dotnet-httprepl --version 8.0.0-preview.24229.1
    

    see docs:

    https://www.nuget.org/packages/Microsoft.dotnet-httprepl/8.0.0-preview.24229.1

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.