[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] I need to pass my post data as json...



I need to figure out how to write json directly to the request body….

 

With the following code:

      Form = WEBFORM_open;                                              

     WEBFORM_SetVar(Form: 'typeId': '6' );                          

    WEBFORM_postData( Form : myPointer                               

       : dataSize );

 

I wind up with:           typeID=6

 

In my request body….

 

But I need to have:

 

{“typeId”:6}

 

 

Is there some way to use WEBFORM to pass json?

                                                    

                                                                   

 

 

 

Gerald Magnuson | Senior System I Admin


The Knapheide Manufacturing Company
1848 Westphalia Strasse // P.O. Box 7140 // Quincy, IL // 62305-7140
P: 217-592-5291 //   F: 217-592-5046 // www.knapheide.com

    

 

_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi