API - Gli MIFI

Hi im trying to make use of the API for the GLI Router (firmware 3.0.29) from my C# app. When i make a call to /language/set or /initpwd i get a 200 but with results of: {“code”:-1,“msg”:“Token is null”}.

Yet when i do the same from Curl it works and i get a token back.

I must be missing something i need to be passing in but cant work out what.

Ignore got this working now :slight_smile: Clearly looking at code to long and missing a clear error

1 Like