0
Завершен

VERTABELO_API_TOKEN via Invoke-WebRequest in powershell

Ugo Peltier 3 года назад обновлен Rafał Strzaliński (Senior Engineer) 3 года назад 2

Any idea how to pass VERTABELO_API_TOKEN via Invoke-WebRequest in powershell ?

I cannot pass a credential with an empty pass, fails because pass cannot be empty.

I cannot pass my user/password instead,"no permission" message from website.

tried to pass it as POST ?VERTABELO_API_TOKEN=xxx, fails too.

Завершен

Hi

I'm not familiar with PowerShell. If the password cannot be empty,  you may put anything as a password. 

Here is a curl equivalent.


curl -u ${VERTABELO_API_TOKEN}:something -H "Accept: application/json" https://my.vertabelo.com/drive



Сервис поддержки клиентов работает на платформе UserEcho