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');
http_post
-
- Posts: 17
- Joined: Fri Jan 07, 2022 2:56 pm
Re: http_post
I found it
Rc = http_req( 'PUT'
: URL
: Filename
: *omit
: *omit
: myJSON
: 'application/json' );
Rc = http_req( 'PUT'
: URL
: Filename
: *omit
: *omit
: myJSON
: 'application/json' );