cancel
Showing results for 
Search instead for 
Did you mean: 

Status Code 415 - Unsupported Media Type

cmetz
Participant
0 Kudos

Hi all,

if I execute a POST Request in Transaction /IWFND/GW_CLIENT I get the error message "Unsupported Media Type" (See Screenshot").

My approach was following:

  1. Execute a HTTP GET request
  2. Press Button use as request
  3. Change method to POST
  4. Execute

I already changed the header content type to text/xml, without success.

Any ideas?

Regards

Christ

Accepted Solutions (0)

Answers (2)

Answers (2)

ChandraMahajan
Active Contributor

In case you execute GET operation i.e. GET_ENITITYSET and then try to perform POST operation then you will get this kind of error. Hence make sure that you execute GET to read single entity i.e. GET_ENTITY operation and then perform POST.


apart from that check this as well.


Regards,

Chandra

former_member184867
Active Contributor
0 Kudos

You can not perform a POST( create ) operation with  a feed payload..

you need to change step 1. Execute a GET request  with READ operation. Which means you need to use a URI that points to an entity.

Then follow other steps as you mentioned.