Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

when i coding i apps script...

I want to code the example respose properly in AppsScript as shown in the picture below.

correct :

예시.png

 

I coded the part marked in green in Apps Script, but it does not work properly.

worng:

나이.png

Please tell me how to code it?

Best Answer
0 Votes
1 REPLY 1

Hi @ydk12 

I believe this situation is similar to your other question in the forums.  The URI parameter values, such as "[date]", needs to be either hard coded in the endpoint or you need to reference it as a variable in the code and supply the variable with a value.  You did changed the URI parameter [user-id] with "-".   The reason the profile endpoint works is because it doesn't have any additional URI parameters besides the user-id, which you hardcoded with a "-".

 

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes