I am looking for some help with the API integration with Magento. I have been reading and testing some things. I have gotten to the point of getting a token from Magento using the insert from URL.
" -X POST
-H \”Cache-Control: no-cache\”
-H \”content-type: application/json\”
This sends back a token, good for 4 hours.
I also have a Access Token from Magento integration. When I use that token in Postman I can pull down products. When I try and use that same info to pull to FM I get an error. Any help would be appreciated.
This is the cURL that I get from Postman. How do I modify that for FM?
curl -X GET \
-H 'Authorization: Bearer <mytoken>' \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-H 'Postman-Token: <postmantoken>'