wq949966
wq949966
curl --location --request GET 'https://snipeit.smglegal.co.uk/api/v1/users' \ --header 'Authorization: Bearer fake_long_bearer_token_string' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'Cookie: snipeit_session=ZrhHNNSCHfraed97wH8iRUMvvtfE57bafJlGJ87U'
HI @snipe - Thanks for the quick response! Please see my request above copied from Postman. I have followed the tutorial. The software itself works flawlessly. Its just the APIs...
Thanks @uberbrady for editing my post. @snipe - I have tried accessing the demo site. See my output below. I get exactly the same from my internal site (login): Redirecting...
Thank @snipe - I will try on the server itself (removing firewall) to avoid further wasting your time! Its a fantastic system. Thank you!
Hi @snipe - I now have the same result as @infotronicx - 1. I can get the API result from Snipe-It demo API 2. I have "Unauthorized or unauthenticated." when...
Hi @snipe - I did an update just before I saw your post! I am trying against version - Version v5.1.1 - build 5811 (master).
@snipe I will send the output pf php-m later today as I need to VPN to the server to run it.
Hi @snipe ... Output of PHP -m as below: C:\inetpub\wwwroot\snipe-it-dev>php -m [PHP Modules] bcmath calendar Core ctype curl date dom exif fileinfo filter gd gettext hash iconv imap json ldap...
Also note that today I tried the same commands on the server itself. Remote call to demo worked while the call to local installation still reported unauthorzed.
Hi @snipe anything further on this please? I have upgraded to absolutely latest release now and still no luck with the API. Other than that , the software is absolutely...