Rest ? https request

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Rest ? https request

Maarten Mostert

Hi,

 

Pasting the next in a terminal gives me a result.

 

But how do I wrap such a thing in a Sioux HttpRequest ???

 

 

curl https://api.stripe.com/v1/charges \ -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \ -d amount=400 \ -d currency=usd \ -d source=tok_16VjYH2eZvKYlo2CziYluzEE \ -d metadata[order_id]=6735

 

Regards,

 

Maarten MOSTERT

 

 

28 Av Alphonse Denis

83400 Hyères, France

+33 676411296 

http://stakepoint.com/


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Rest ? https request

Kogan, Tamara

Maarten,

 

Do you want to use SiouX.HttpRequest as a client request?

If so the class was not designed to use on client side. You should use Net client classes instead.

 

Tamara Kogan

Smalltalk Development

Cincom Systems

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Monday, August 03, 2015 10:26 AM
To: VWNC
Subject: [vwnc] Rest ? https request

 

Hi,

 

Pasting the next in a terminal gives me a result.

 

But how do I wrap such a thing in a Sioux HttpRequest ???

 

 

curl https://api.stripe.com/v1/charges \ -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \ -d amount=400 \ -d currency=usd \ -d source=tok_16VjYH2eZvKYlo2CziYluzEE \ -d metadata[order_id]=6735

 

Regards,

 

Maarten MOSTERT

 

Image removed by sender.

 

28 Av Alphonse Denis

83400 Hyères, France

+33 676411296 

http://stakepoint.com/


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Rest ? https request

Maarten Mostert
Tamara,

I’ll use whatever that works

Regards,




Le 3 août 2015 à 16:34, Kogan, Tamara <[hidden email]> a écrit :

Maarten,
 
Do you want to use SiouX.HttpRequest as a client request?
If so the class was not designed to use on client side. You should use Net client classes instead.
 
Tamara Kogan
Smalltalk Development
Cincom Systems
 
From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent: Monday, August 03, 2015 10:26 AM
To: VWNC
Subject: [vwnc] Rest ? https request
 
Hi,
 
Pasting the next in a terminal gives me a result.
 
But how do I wrap such a thing in a Sioux HttpRequest ???
 
 
curl https://api.stripe.com/v1/charges \ -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \ -d amount=400 \ -d currency=usd \ -d source=tok_16VjYH2eZvKYlo2CziYluzEE \ -d metadata[order_id]=6735
 
Regards,
 
Maarten MOSTERT
 
<~WRD000.jpg>
 
28 Av Alphonse Denis
83400 Hyères, France
+33 676411296 


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Rest ? https request

Maarten Mostert
In reply to this post by Kogan, Tamara
I am on this page here  

https://stripe.com/docs/api/ruby#metadata

with Examples in many languages ……

Regards,



Le 3 août 2015 à 16:34, Kogan, Tamara <[hidden email]> a écrit :

Maarten,
 
Do you want to use SiouX.HttpRequest as a client request?
If so the class was not designed to use on client side. You should use Net client classes instead.
 
Tamara Kogan
Smalltalk Development
Cincom Systems
 
From: [hidden email] [[hidden email]] On Behalf Of [hidden email]
Sent: Monday, August 03, 2015 10:26 AM
To: VWNC
Subject: [vwnc] Rest ? https request
 
Hi,
 
Pasting the next in a terminal gives me a result.
 
But how do I wrap such a thing in a Sioux HttpRequest ???
 
 
curl https://api.stripe.com/v1/charges \ -u sk_test_BQokikJOvBiI2HlWgH4olfQ2: \ -d amount=400 \ -d currency=usd \ -d source=tok_16VjYH2eZvKYlo2CziYluzEE \ -d metadata[order_id]=6735
 
Regards,
 
Maarten MOSTERT
 
<~WRD000.jpg>
 
28 Av Alphonse Denis
83400 Hyères, France
+33 676411296 

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Loading...