[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTPAPI and Json
Hi,
the services probably work as a JSON web service, and yous you can use
HTTPAPI
for that.
You can either concatinate the request in a field and send it like XML,
the problem is
when you recieve JSON back.
You can combine HTTPAPI and my powerEXT Core service program that has
I/O
support for JSON
On Thu, Sep 26, 2013 at 10:41 PM, Raul A. Jager W. <[1]raul@xxxxxxxxxx>
wrote:
I need to comunicate with Bancard for credit card payment, they
installed a new sistem that uses json as protocol, and the manual
requests a "post" whit the data in json format instead of the usual
webform.
In the example2, the program builds a webform and sends it with
http_url_post.
Can I build the json in a char variable and send it the same way?
A full description of the expected protocol is in:
[2]https://www.bancard.com.py/docs/Manual_Tecnico_E-Commerce.pdf
Here I copied a small part where it explains that we must POST the
Json, later on it gives all the detial of the data to send with each
request.
____________________________________________________________________
_________________________________
Peticiones realizadas por el portal a VPOS
Las peticiones serán realizadas por POST a una interfaz REST
public_key Clave pública del portal. En el caso de la
confirmación, la key enviada es
también la del portal al cual se env�.
Datos de la operación que se va a llevar a cabo.
{
"public_key": "[public key]",
"operation": {
"token": "[generated token]",
...
}
}
--------------------------------------------------------------------
---
This is the FTPAPI mailing list. �To unsubscribe, please go to:
[3]http://www.scottklement.com/mailman/listinfo/ftpapi
--------------------------------------------------------------------
---
--
Regards,
Henrik Rützou
� [4]http://powerEXT.com
�
References
1. mailto:raul@xxxxxxxxxx
2. https://www.bancard.com.py/docs/Manual_Tecnico_E-Commerce.pdf
3. http://www.scottklement.com/mailman/listinfo/ftpapi
4. http://powerext.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------