HELP CURL IN MODHARBOUR

122 views
Skip to first unread message

hherrera

unread,
Dec 1, 2020, 11:08:36 PM12/1/20
to ModHarbour
HOLA A TODOS
Estoy iniciando no solo con modHarbour, sino tambien con la libreria Curl.
me declaro totalmente novato.  Tengo un proyecto en donde se requiere enviar un token a un proveedor de facturas electronica  Me da la siguiente linea

HELLO EVERYONE I'm starting not only with modHarbour, but also with the Curl library. 
I declare myself totally newbie I have a project where it is required to send a token to an electronic invoice provider Gives me the following line  
 

curl --location --request POST 'https://api.fegora.com/token' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=43430775' \
--data-urlencode 'password=[secret]' \
--data-urlencode 'client_id=apiApp'


Mi pregunta es como puedo  integrar esto con ModHarbour.
existe algun tutorial para determinar como configurar por ejemplo:

My question is how can I integrate this with ModHarbour. There is a tutorial to determine how to configure for example:  

---data-urlencode
--header

De antemano les agradezco toda la ayuda que me puedan brindar
I appreciate all the help you can give me, HarbourMod is amazing    

HarbourMod es increible



Ricardo Arraes

unread,
Dec 2, 2020, 8:08:29 AM12/2/20
to ModHarbour
Hey, I just posted a simple explanation about it in our modharbour forum:

hherrera

unread,
Dec 2, 2020, 1:46:32 PM12/2/20
to ModHarbour
Gracias, lo revisare
Reply all
Reply to author
Forward
0 new messages