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

[Ftpapi] Return code 201 returned as error?



Hi Scott,

I am using the latest version of HTTPAPI and my web service call is returning 201 which is getting caught in my monitor block and I am not getting the json response because of it.

 

I can’t quite see what I am doing wrong?

 

This is calling a web service controller built in Java to call fedex.

 

Code:

                Url ="" http://localhost:53226/shipping/fedex/close                           

       monitor;

           responseJson = http_string( 'POST' : url : requestJson );

       on-error;

           error =  http_error();

 

           evblog_log( SHIPPING_EVBLOG_APPNAME

                        : PROGRAM_NAME

                        : PROCEDURE_NAME

                        : EVBLOG_INFORMATION

                        : 'Http call'

                        : error   );

       endmon;                                  

 

Can you see what I am doing wrong?

I appreciate any help you can give!

 

Thank you,

Marina Schwenk 

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