How to generate access token using curl

#1

How to use Poynt REST APIs using curl