http_post
Posted: Thu Feb 10, 2022 2:46 pm
Hi folks , question
Is it possible to do the same in PUT and not in POST
I would like to use the Filename file in order to have the information when calling the web service
It can be done with Rc = http_post( URL
: %addr( myJSON : *data )
: %only (myJSON)
: Filename
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/json' );
But not with Response =http_string( 'PUT': URL: myJSON: 'application/json');
Is it possible to do the same in PUT and not in POST
I would like to use the Filename file in order to have the information when calling the web service
It can be done with Rc = http_post( URL
: %addr( myJSON : *data )
: %only (myJSON)
: Filename
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'application/json' );
But not with Response =http_string( 'PUT': URL: myJSON: 'application/json');