S
S
SHUPILOID2020-01-30 13:21:01
API
SHUPILOID, 2020-01-30 13:21:01

How can I make the right request?

I am working with api instagram and I need to make a POST request to get a token

It is written in the documentation to simply send such a curl request from the command line. But it doesn't work. I put in my details and nothing.

curl -X POST \ https://api.instagram.com/oauth/access_token \ -F client_id={app-id} \ -F client_secret={app-secret} \ -F grant_type=authorization_code \ -F redirect_uri={redirect-uri} \ -F code={code}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question