Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Trying to use postman to make simple call failing https://api.figma.com/v1/me #45

Open
MikeCarlo opened this issue May 18, 2023 · 1 comment

Comments

@MikeCarlo
Copy link

When I try to make a figma call for the

get https://api.figma.com/v1/me 

as described in the following documentation I get a 400 bad request.

I am aware that I need a header item for the X-Figma-Token object. I am using Postman to make this call, and it fails every time.

For reference I created my access token and the call does work successfully when I make a call using a curl inside studio code. Note this code is made from postman. so I am pretty sure the actual curl command works.

curl --location 'https://api.figma.com/v1/me' --header 'X-Figma-Token: <myAccessTokenHere>'

Anybody been able to get this api to work when making the following call https://api.figma.com/v1/me from postman?

@MikeCarlo
Copy link
Author

CC: @coreyward for maybe some help here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant