It is currently 8 June 2025, 18:15 Advanced search

GetHTTP Parametri

Domande e risposte su come utilizzare Instant Developer Foundation al meglio

GetHTTP Parametri

Postby f.delsordo » 16 August 2024, 9:02

Ciao a tutti,

avrei bisogno di inviare una richiesta POST inviando un body di tipo form-data ed inviando un file e un parametro testuale.
per capirci su postaman è così:

Code: Select all
curl --location 'https://abc.com/' \
--header 'Authorization: Bearer xxxx' \

--form 'parametro="valore"' \
--form 'file=@"/C:/Varie/Documenti/test.pdf"'


Su INDE ho impostato ID_BODYTYPE e ID_MULTITYPE a "multipart/form-data" e ID_POSTFILE con il filepath (e sembra andare bene).
Ma non trovo in nessun modo nella documentazione o nel forum come passare un parametro testuale in aggiunta come form data.

Grazie
Attachments
2024-08-16 11_00_30-Pro Gamma Instant Developer Foundation 23.0 - BKM_Tools_22.5_20240703.idp.png
2024-08-16 11_00_30-Pro Gamma Instant Developer Foundation 23.0 - BKM_Tools_22.5_20240703.idp.png (104.86 KiB) Viewed 508 times
f.delsordo
 
Posts: 83
Joined: 13 October 2011, 8:33

Return to Tips & Tricks - Foundation

Who is online

Users browsing this forum: texw and 37 guests