Page 3 of 3
Re: Ver stock de otros locales
Posted: Tue Jun 16, 2020 2:47 am
by andyglezl
Acabo de leerlo...
Quizá con esto, alguien se anima a convertirlo a HMG ?
(claro con la ayuda de todos nosotros !)
*---------------------------------------------------------------------
I have just read it...
Perhaps with this, someone is encouraged to convert it to HMG ?
(of course with the help of all of us!)
https://send-anywhere.com
SendAnywhere-Web-API
https://github.com/estmob/SendAnywhere-Web-API
Re: Ver stock de otros locales
Posted: Tue Jun 16, 2020 12:49 pm
by danielmaximiliano
Andy Web-Api tiene 3 batch sencillos para el envio y recepción.
Code: Select all
@ECHO OFF
curl --version
IF NOT "%ERRORLEVEL%" == "0" GOTO NOT_INSTALLED
SET TOKEN_FILE=.sendanywhere-token.txt
SET API_KEY=YOUR_API_KEY
curl -s -c %TOKEN_FILE% "https://send-anywhere.com/web/v1/device?api_key=%API_KEY%&profile_name=SendAnywhereSDK"
ECHO.
EXIT /b
:NOT_INSTALLED
ECHO curl is not installed!
EXIT /b
Se puede ejecutar directamente en HMG solo hay que instalar Curl desde
https://curl.haxx.se/windows/
dentro del directorio se encuentran las LIB libcurl.a para trabajar con el enlazador Mingw que usa Harbour.
otra opcion es compilar desde las fuentes de Curl
https://curl.haxx.se/download/curl-7.70.0.zip descargar OpenSSL desde
https://slproweb.com/products/Win32OpenSSL.html y generar las LIBs necesarias.
ya hace tiempo comente como generar las LIBs de CURLs.
It can be run directly in HMG just install Curl from
https://curl.haxx.se/windows/
Libcurl.a libraries are located inside the directory to work with the Mingw linker that Harbour uses.
another option is to compile from Curl sources
https://curl.haxx.se/download/curl-7.70.0.zip
download OpenSSL from
https://slproweb.com/products/Win32OpenSSL.html and generate the necessary LIBs.
Some time ago I discussed how to generate LIBs from CURLs.
Re: Ver stock de otros locales
Posted: Tue Jun 16, 2020 7:03 pm
by ASESORMIX
Gracias Daniel