Priceline.com interview question

How do you make an API call?

Interview Answer

Anonymous

Oct 19, 2018

Use URLSession and spin off a data task, then handle the response and guard against any errors. Seemed fine.