Help understanding api

Hi, the code is returned from authorisation url redirect back into my app.
Thanks for the tip about the form, since the code is automatic without user interaction to submit I used a get parameter and it worked fine.

I'm having another issue trying to exchange the code for an access token with snapchat. It works fine with postman, manually inserting the code I get from passed via the Wappler api action to my server.
Everything is the same, I can't figure it out why it doesnt work, maybe some parsing issue or how I am concatenating the get parameter at the end..

Do you happen to see anything wrong with this?

'https://accounts.snapchat.com/accounts/oauth2/token?client_id=02ffd3b4-fa6e-4c84-b363-38aa65122385&client_secret=xxxxx&redirect_uri=xxxxx://snapkit&grant_type=authorization_code&code='+$_GET.code

@patrick

The schema is the same I copied from there too

{
    "access_token": "xxx",
    "token_type": "Bearer",
    "expires_in": 3600,
    "refresh_token": "xxx",
    "scope": "https://auth.snapchat.com/oauth2/api/user.bitmoji.avatar https://auth.snapchat.com/oauth2/api/user.display_name"
}

I have output selected
image

And trying to insert into database like this
image

But it's left empty while the code is inserted