PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV (earlier versions)
→
Google Drive API v3 ; créer un nouveau dossier ?
Google Drive API v3 ; créer un nouveau dossier ?
Started by ChouLAGH, Mar., 04 2024 6:43 PM - 1 reply
Connect yourself…
ChouLAGH
#1
Registered member
251 messages
Popularité : +1 (1 vote)
Posted on March, 04 2024 - 6:43 PM
Bonjour,
J'essaie de créer un dossier dans Google Drive.
La connexion se passe bien à l'PAI v3 de Google Drive.
Le code de création d'un dossier sur le drive : ne crée pas un dossier mais un fichier nommé "untitles"
=============================
req est un httpRequête
req.Méthode = httpPost
req.URL = "
https://www.googleapis.com/upload/drive/v3/files
"
req.AuthToken = gsToken // Token d'authentification
req.ContentType = "application/json"
req.Entête["Accept"] = "application/json"
vParamAPI est un Variant
vParamAPI.name = "toto"
vParamAPI.mimeType = "application/vnd.google-apps.folder"
req.Contenu = VariantVersJSON(vParamAPI)
réponseHTTP est un httpRéponse = HTTPEnvoie(req)
vDonnées est un Variant = JSONVersVariant(réponseHTTP.Contenu)
====================================
Quelqu'un a déjà fait cela svp ?
je galère
--
Chouaïb
Report
0
0
Lapalys
#2
Registered member
88 messages
Popularité : +3 (3 votes)
Posted on April, 22 2024 - 11:16 PM
Salut
As-tu trouvé la réponse ?
--
Bon dev.
Patrick Lalemand
https://www.lapalys.ca
Report
0
0
→ Go back to WINDEV (earlier versions)
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text