Example: GEt- http://ergast.com/api/f1/2017/circuits.xml In Basic Authentication, the client waits for a 401 Unauthorized response before sending the encoded credentials. In Preemptive Authentication, the client sends the encoded credentials with the first request, without waiting for a challenge. <MRData xmlns= "http://ergast.com/mrd/1.5" series= "f1" url= "http://ergast.com/api/f1/2017/circuits.xml" limit= "30" offset= "0" total= "20" > <CircuitTable season= "2017" > <Circuit circuitId= "albert_park" url= "http://en.wikipedia.org/wiki/Melbourne_Grand_Prix_Circuit" > <CircuitName>Albert Park Grand Prix Circuit</CircuitName> <Location lat= "-37.8497" long= "144.968" > <Locality>Melbourne</Locality> ...
Comments
Post a Comment