× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"The HTTP |*415 Unsupported Media Type*| client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format.

The format problem might be due to the request's indicated |Content-Type| <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type> or |Content-Encoding| <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding>, or as a result of inspecting the data directly."

Are you doing a POST or a GET?

I prefer Postman to SOAP UI.

Here is the simple svcpgm I used:

     h nomain pgminfo(*PCML:*MODULE:*DCLCASE)

      * -- Procedures included in this Service Program  -----
     d DayName         pr
     d  dateIn                       10    const
     d  dayOut                       30
      // ==================================================
     p DayName         b                   export
     d DayName         pi
     d  dateIn                       10    const
     d  dayOut                       30
     d wDateIn         s             10
     d wDateOut        s             10

      /free
       test(de) *iso dateIn;
       if %error;
         wDateIn = %char(%date(): *iso);
         dayOut = 'x';
       else;
         wDateIn = dateIn;
         clear dayOut;
       endif;
       exec sql set :wDateOut = dayName(:wDateIn);
       if dayOut = 'x';
         dayOut = 'Today is a ' + wDateOut;
       else;
         dayout = wDateOut;
       endif;
     p DayName         e
      // ==================================================

On 2/19/2019 7:48 AM, Alan Shore via MIDRANGE-L wrote:
HTTP ERROR 415

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.