|
Como passar um json no body de uma requisição post |
Iniciado por Boller, 06,jul. 2021 19:49 - No hay respuesta |
| |
| | | |
|
| |
Miembro registrado 4.549 mensajes |
|
Publicado el 06,julio 2021 - 19:49 |
Passando para agradecer o @?Ricardo Cassolato Cliente Pgto? pela ajuda, estava precisando passar um JSON No body da requisição e me ajudou de imediato, meu muito obrigado!
JsonResponse is JSON = "" sJsonBody is string = {"usuario":"[%variavel_usuario%]","senha":"[%variavel_senha%]"} MyRequest is httpRequest MyRequest..URL = "https://192.168.15.250/wsmobileautenticar.rule?sys=CIE" MyRequest..Method = httpPost MyRequest..Timeout = 180s MyRequest..Content = sJsonBody MyResponse is httpResponse = HTTPSend(MyRequest) JsonResponse = MyResponse..Content
-- Adriano José Boller ______________________________________________ Consultor e Representante Oficial da PcSoft no Brasil +55 (41) 99949 1800 adrianoboller@gmail.com skype: adrianoboller http://wxinformatica.com.br/ |
| |
| |
| | | |
|
| | | | |
| | |
|