Hi! I am trying to create a new Patron but everytime getting Bad Request. What I am missing. Here is my C# code: HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri); request.CookieContainer = cookieJar; request.Method = "POST"; request.ContentType = "application/json"; System.IO.StreamWriter writer = new System.IO.StreamWriter(request.GetRequestStream()); string postData = "{'surname': 'D2','cardnumber':'12345678912345678912345678912349','library_id':'GBA','category_id':'HB','date_enrolled':'11/09/2019'}"; writer.Write(json); writer.Flush(); writer.Close(); HttpWebResponse response = (HttpWebResponse)request.GetResponse();
I am using API: api/v1/patrons
I have changed the bug for better visibility, but this question would be better asked on the mailing list!
Hi Muhammed, checking this again, this sounds like a support request rather than a bug. Questions about Koha configuration are best asked on the Koha mailing list (http://koha-community.org/support/koha-mailing-lists/) or in the #koha IRC channel (http://koha-community.org/get-involved/irc/). Hopefully you've already seen the Koha documentation: http://koha-community.org/documentation/ You can also find options for paid support here: https://koha-community.org/support/