It is currently 22 April 2025, 10:46 Advanced search

Recuperare parametri

Domande e risposte su come utilizzare Instant Developer Cloud al meglio

Recuperare parametri

Postby A.Piunti » 30 October 2018, 17:23

Da un sito esterno ricevo la seguente chiamata:
Code: Select all
https://miosito.it?code=ac_DsmIYu9XhZNOp2xWYQxzGtmJTFQ6KEXf&scope=read_write&state=EOW6n%2FmjEVGQDu4uLbau8g%3D%3D


nell'on start, la request.query è vuota.

Come faccio a recuperare code,scope e state?

Grazie
Last edited by A.Piunti on 31 October 2018, 8:33, edited 1 time in total.
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20

Re: Recuperare parametri

Postby d.arrivabene » 31 October 2018, 8:10

Hai visto cosa contiene il parametro request?
User avatar
d.arrivabene
Pro Gamma
Pro Gamma
 
Posts: 1232
Joined: 5 October 2011, 8:36
Location: Bologna

Re: Recuperare parametri

Postby A.Piunti » 31 October 2018, 8:32

d.arrivabene wrote:Hai visto cosa contiene il parametro request?

Si, il request è il seguente:
Code: Select all
{"query":{},"body":{},"remoteAddress":"185.135.103.202"}


query e body sono vuoti
User avatar
A.Piunti
 
Posts: 317
Joined: 1 January 2015, 13:20

Re: Recuperare parametri

Postby d.arrivabene » 31 October 2018, 8:51

Riesci a modificare l'url aggiungendo il parametro
CMD = comando
per fare una prova e capire se si risolve?
User avatar
d.arrivabene
Pro Gamma
Pro Gamma
 
Posts: 1232
Joined: 5 October 2011, 8:36
Location: Bologna


Return to Tips & Tricks - Cloud

Who is online

Users browsing this forum: No registered users and 15 guests