0

Im using django restframework python in local its working fine as excepted (get,put,post,delete).Ran the server gave the endpoints in api manager and configured resources also,deployed.Get and delete method is working fine in wso2 apim ,but post and put method doesnt work.when i hit postman with required payload it goes to wso2 apim but in backend am getting null

i debugged at end backend (got to know payload becomes empty).i tried to find logs in wso2 apim

  • You can try enabling wire logs for the gateway. This will print the headers, request payload and response from the back end. https://apim.docs.wso2.com/en/latest/administer/logging-and-monitoring/logging/configuring-logging/#gateway-wire-logs – Lakshitha Feb 16 '23 at 15:24
  • when i enabled gateway wire logs and gave this code in log42 properities api manager isn't starting itself.loggers = synapse-wire, trace-messages, org-apache-coyote,com-hazelcast – ajith nirmal Feb 20 '23 at 07:00
  • any errors in the logs? – Lakshitha Feb 21 '23 at 04:02
  • [2023-02-21 10:42:20,222] ERROR {TargetHandler} - HTTP protocol violation : Not a valid protocol version: – ajith nirmal Feb 21 '23 at 05:25

0 Answers0