I'm trying to burst, These requests storm my brain. I am using OS - Windows , command line interface - Powershell .
curl.exe -X GET -v local.qaapi.com/Token -d "username=XXXXX&password=XXXXX&clientid=XXXXX&grant_type=XXXXXX" curl.exe -X POST -v local.qaapi.com/Token -d "username=XXXXX&password=XXXXX&clientid=XXXXX&grant_type=XXXXXX"
Both of them produce the same output, but in the case of POST-MAN (the user interface interface for requesting API calls), only POST and GET work . I tried to get GET-METHOD , knowing that this is not the correct syntax, the expected bad option, but it succeeded. The CorsMiddleware Class I used to configure for my API.
source share