Skip to Content
0

how to send the restful in the MII 15 with additional header information

Oct 10, 2017 at 10:16 AM

58

avatar image
Former Member

Hello,

We got the request that the customer offers a restful webservice, and we need use the MII to call the restful webservice and deliver the data.

Here is the example if I use the curl -X POST command, and the same can be set in the soupUI restfull request. But when I come to the MII workbench using the HTTP post action, I got lost.

Is there anyone who can give the advice how this can be created?

$ curl -X POST \

> https://test.customer.com/xxxxxxxxx/xxx/xx/XXRreceiver\

> -H 'accept: text/xml' \

> -H 'cache-control: no-cache' \

> -H 'content-type: text/xml' \

> -H 'keyid: 3434534ASDD-ASEF-2344-asda-d8178dd3b4ad' \

> -d '<IncomingData>asdfasdfasdfasdfasdf</IncomingData>' -k

Thanks & regards,

Leon

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Matthias Kalmlage Oct 16, 2017 at 08:15 AM
0

Hi Leon,

you will find the solution ini this thread:

https://answers.sap.com/questions/282468/htpp-header-in-mii-webservice-actions.html

Kind regards,

Matthias

Share
10 |10000 characters needed characters left characters exceeded