Go to documentation repository
Page History
Serwer HTTP server NGP responds to method calls in the form of dla NGP odpowiada na wywołania metod w formie JSON.
Info | ||
---|---|---|
| ||
By default the Web-server port is 80, prefix is / (empty). |
Authorization is needed for requests. Two types of authorization are supported: Basic and Bearer.
Domyślny port serwera Web to 80; prefiks to '/' (pusty prefiks). |
Aby móc kierować zapytania, niezbędna jest autoryzacja. Dwa typy autoryzacji są wspierane: Basic oraz Bearer.
Jeśli tryb autoryzacji to Basic, niezbędne jest dodanie danych użytkownika do wszystkich zapytań HTTP w następujący sposóbWith the Basic authorization type, it is necessary to add user data to all HTTP requests in the following form:
Code Block |
---|
http://[username]:[password]@[IP-address]:[port]/[prefix] |
With the Bearer authorization type, the token received from the web server is used (see Bearer authorizationJeśli tryb autoryzacji to Bearer, używany jest token otrzymany od serwera Web (zobacz: Autoryzacja tokenem).
POST requests must have JSON body.
The number of active requests and requests in queue is limited.
Zapytania POST muszą posiadać body w formacie JSON.
Liczba aktywnych zapytań oraz zapytań w kolejce jest ograniczona.
Błąd 503 The 503 error (Search query rejected. Too many requests) returns when there are too many requestsjest zwracany, jeśli istnieje zbyt dużo zapytań.