Duo Network Gateway and curl


We currently have a protected application sitting behind our Duo Network Gateway. All works as expected with a browser. What I’m trying to do now is load the page via curl. Sending user credentials via Basic HTTP Auth headers doesn’t seem to work, it just loads the base webpage that asks for the credentials.

Is it possible to use DNG to authenticate a curl request?