Figure 1.
Interface of GL Service API Explorer found at https://gl.nmdp.org/imgt-hla/3.20.0/explorer/
A – Selecting method in the API Explorer. Options from a dropdown menu include locus, allele, allele-list, haplotype, genotype, genotype-list, and multilocus-unphased genotype. Here the Method selected is genotype.
B – Using HTTP POST to register a GL String. Here the GL String representing the genotype HLA-A*01:01:01:01/HLA-A*01:02+HLA-A*01:03 is entered.
C – After clicking the HTTP POST button, the URI returned is displayed in the Location field of the page. Here the URI listed it https://gl.nmdp.org/imgt-hla/3.20.0/genotype/fn.
D – Using HTTP GET to retrieve a GL String. The URI for the genotype is completed using the data entry box. Here fn is entered to complete the URI https://gl.nmdp.org/imgt-hla/3.20.0/genotype/fn.
E – Selecting content type. This dropdown menu is used to select the format when retrieving the dereference URI. Options include GL String (text/plain), HTML (text/html), JSON (application/json), RDF (application/rdf+xml), N3 (text/n3), QR Code (image/png), XML object graph style (txt/xml), and XML refs style (text/xml). In this case, GL String (text/plain) is selected.
F – The content returned after a HTTP GET request is made is displayed in the Content field of the page. In this case, the content that the URI https://gl.nmdp.org/imgt-hla/3.20.0/genotype/fn is the GL String HLA-A*01:01:01:01/HLA-A*01:02+HLA-A*01:03