2017-12-07 12 views
0

내가이 요청요청은 우편 배달

curl -X POST \ 
    'https://*****.visualstudio.com/DefaultCollection/_apis/wit/wiql?=&api-version=1.0' \ 
    -H 'authorization: Basic *****' \ 
    -H 'cache-control: no-cache' \ 
    -H 'content-type: application/json' \ 
    -H 'postman-token: *****' \ 
    -d '{ 
    "query": "SELECT [System.Id] FROM WorkItems" 
}' 

을 실행하기 위해 노력하고있어에서 작동하지만이 오류를 받고 계속

{"count":1,"value":{"Message":"A value is required but was not present in the request.\r\n"}} 
우체부에서 예상대로 작동

, 그래서 생각 요청과 서버는 정상입니다. https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql

나는 실종 뭔가 :

나는 여기에 표시된 첫 번째 예제를 따라하기 위해 노력하고있어?

답변

0

URL은 잘못, 나머지의 API의 URL에서 =&을 제거하고 URL은 다음과 같이 될 것입니다 :

https://*****.visualstudio.com/DefaultCollection/_apis/wit/wiql?api-version=1.