Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Postman and webapi error #11095


User avatar
0
flaskone created
  • Product version: 10.5.0

  • Product type Angular Asp.net core

  • Product framework type: .net core 5.0

  • ABP Framework version: 6.5.0

Hi, I have a problem making a request to the address: https://localhost:44301/api/TokenAuth/Authenticate from Postman. I get error : HTTP Error 400. The request hostname is invalid. The backend core application is running.

Headers:

Body:

Everything works normally when I am using Angular or Swagger. What is wrong with postman ?

Ɓukasz Tync

Ps. could you send answer to email: [email protected]


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @flaskone

    1. Are you making the request on the same machine ?
    2. Are you able to access https://localhost:44301/ on the machine you are making the request from ?

    Thanks,